@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 777 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow `this` usage in a `beforeRouteEnter` method.
*
* @see [no-this-in-before-route-enter](https://eslint.vuejs.org/rules/no-this-in-before-route-enter.html)
*/
export type NoThisInBeforeRouteEnterRuleConfig = RuleConfig<[]>;
/**
* Disallow `this` usage in a `beforeRouteEnter` method.
*
* @see [no-this-in-before-route-enter](https://eslint.vuejs.org/rules/no-this-in-before-route-enter.html)
*/
export interface NoThisInBeforeRouteEnterRule {
/**
* Disallow `this` usage in a `beforeRouteEnter` method.
*
* @see [no-this-in-before-route-enter](https://eslint.vuejs.org/rules/no-this-in-before-route-enter.html)
*/
'vue/no-this-in-before-route-enter': NoThisInBeforeRouteEnterRuleConfig;
}