@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 795 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow deprecated `scope` attribute (in Vue.js 2.5.0+).
*
* @see [no-deprecated-scope-attribute](https://eslint.vuejs.org/rules/no-deprecated-scope-attribute.html)
*/
export type NoDeprecatedScopeAttributeRuleConfig = RuleConfig<[]>;
/**
* Disallow deprecated `scope` attribute (in Vue.js 2.5.0+).
*
* @see [no-deprecated-scope-attribute](https://eslint.vuejs.org/rules/no-deprecated-scope-attribute.html)
*/
export interface NoDeprecatedScopeAttributeRule {
/**
* Disallow deprecated `scope` attribute (in Vue.js 2.5.0+).
*
* @see [no-deprecated-scope-attribute](https://eslint.vuejs.org/rules/no-deprecated-scope-attribute.html)
*/
'vue/no-deprecated-scope-attribute': NoDeprecatedScopeAttributeRuleConfig;
}