UNPKG

@datadayrepos/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 677 B
import type { RuleConfig } from '../rule-config'; /** * Disallow invalid number for JSON. * * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) */ export type ValidJsonNumberRuleConfig = RuleConfig<[]>; /** * Disallow invalid number for JSON. * * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) */ export interface ValidJsonNumberRule { /** * Disallow invalid number for JSON. * * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) */ 'jsonc/valid-json-number': ValidJsonNumberRuleConfig; }