UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 620 B
import type { RuleConfig } from '../rule-config'; /** * Disallow negated conditions. * * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) */ export type NoNegatedConditionRuleConfig = RuleConfig<[]>; /** * Disallow negated conditions. * * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) */ export interface NoNegatedConditionRule { /** * Disallow negated conditions. * * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) */ 'no-negated-condition': NoNegatedConditionRuleConfig; }