UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 510 B
import type { RuleConfig } from '../rule-config'; /** * Disallow NaN. * * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) */ export type NoNanRuleConfig = RuleConfig<[]>; /** * Disallow NaN. * * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) */ export interface NoNanRule { /** * Disallow NaN. * * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) */ 'jsonc/no-nan': NoNanRuleConfig; }