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