@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 648 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow number property keys.
*
* @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html)
*/
export type NoNumberPropsRuleConfig = RuleConfig<[]>;
/**
* Disallow number property keys.
*
* @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html)
*/
export interface NoNumberPropsRule {
/**
* Disallow number property keys.
*
* @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html)
*/
'jsonc/no-number-props': NoNumberPropsRuleConfig;
}