@datadayrepos/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 734 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow unused `eslint-enable` comments.
*
* @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html)
*/
export type NoUnusedEnableRuleConfig = RuleConfig<[]>;
/**
* Disallow unused `eslint-enable` comments.
*
* @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html)
*/
export interface NoUnusedEnableRule {
/**
* Disallow unused `eslint-enable` comments.
*
* @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html)
*/
'eslint-comments/no-unused-enable': NoUnusedEnableRuleConfig;
}