UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 790 B
import type { RuleConfig } from '../rule-config'; /** * Disallow leading or trailing decimal points in numeric literals. * * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) */ export type NoFloatingDecimalRuleConfig = RuleConfig<[]>; /** * Disallow leading or trailing decimal points in numeric literals. * * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) */ export interface NoFloatingDecimalRule { /** * Disallow leading or trailing decimal points in numeric literals. * * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) */ 'jsonc/no-floating-decimal': NoFloatingDecimalRuleConfig; }