UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 814 B
import type { RuleConfig } from '../rule-config'; /** * Disallow classes that only have static members. * * @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-static-only-class.md) */ export type NoStaticOnlyClassRuleConfig = RuleConfig<[]>; /** * Disallow classes that only have static members. * * @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-static-only-class.md) */ export interface NoStaticOnlyClassRule { /** * Disallow classes that only have static members. * * @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-static-only-class.md) */ 'unicorn/no-static-only-class': NoStaticOnlyClassRuleConfig; }