UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 575 B
import type { RuleConfig } from '../rule-config'; /** * Disallow unnecessary semicolons. * * @see [no-extra-semi](https://typescript-eslint.io/rules/no-extra-semi) */ export type NoExtraSemiRuleConfig = RuleConfig<[]>; /** * Disallow unnecessary semicolons. * * @see [no-extra-semi](https://typescript-eslint.io/rules/no-extra-semi) */ export interface NoExtraSemiRule { /** * Disallow unnecessary semicolons. * * @see [no-extra-semi](https://typescript-eslint.io/rules/no-extra-semi) */ '@typescript-eslint/no-extra-semi': NoExtraSemiRuleConfig; }