@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 562 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow unnecessary semicolons.
*
* @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi)
*/
export type NoExtraSemiRuleConfig = RuleConfig<[]>;
/**
* Disallow unnecessary semicolons.
*
* @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi)
*/
export interface NoExtraSemiRule {
/**
* Disallow unnecessary semicolons.
*
* @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi)
*/
'no-extra-semi': NoExtraSemiRuleConfig;
}