UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 658 B
import type { RuleConfig } from '../rule-config'; /** * Disallow unnecessary constructors. * * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) */ export type NoUselessConstructorRuleConfig = RuleConfig<[]>; /** * Disallow unnecessary constructors. * * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) */ export interface NoUselessConstructorRule { /** * Disallow unnecessary constructors. * * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) */ 'no-useless-constructor': NoUselessConstructorRuleConfig; }