-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Description
eslint-plugin-vue/lib/rules/no-deprecated-router-link-tag-prop.js
Lines 36 to 50 in 6916db0
schema: [ | |
{ | |
type: 'object', | |
properties: { | |
components: { | |
type: 'array', | |
items: { | |
type: 'string' | |
}, | |
uniqueItems: true, | |
minItems: 1 | |
} | |
} | |
} | |
], |
This rule is one of the rules causing type inconsistency for eslint-define-config
eslint-types/eslint-define-config#189
Please fix this by adding either additionalProperties: false
or additionalProperties: { type: recordValueType }
export interface NoDeprecatedRouterLinkTagPropRule {
/**
* Disallow using deprecated `tag` property on `RouterLink` (in Vue.js 3.0.0+).
*
* @see [no-deprecated-router-link-tag-prop](https://eslint.vuejs.org/rules/no-deprecated-router-link-tag-prop.html)
*/
'vue/no-deprecated-router-link-tag-prop': Rule<
[
RuleLevel,
{
/**
* @minItems 1
*/
components?: [string, ...string[]];
[k: string]: any; // <-- UNWANTED: additionalProperties
},
]
>;
}