@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 727 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Enforce component's data property to be a function.
*
* @see [no-shared-component-data](https://eslint.vuejs.org/rules/no-shared-component-data.html)
*/
export type NoSharedComponentDataRuleConfig = RuleConfig<[]>;
/**
* Enforce component's data property to be a function.
*
* @see [no-shared-component-data](https://eslint.vuejs.org/rules/no-shared-component-data.html)
*/
export interface NoSharedComponentDataRule {
/**
* Enforce component's data property to be a function.
*
* @see [no-shared-component-data](https://eslint.vuejs.org/rules/no-shared-component-data.html)
*/
'vue/no-shared-component-data': NoSharedComponentDataRuleConfig;
}