UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 760 B
import type { RuleConfig } from '../rule-config'; /** * Disallow negated conditions. * * @see [no-negated-condition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-negated-condition.md) */ export type NoNegatedConditionRuleConfig = RuleConfig<[]>; /** * Disallow negated conditions. * * @see [no-negated-condition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-negated-condition.md) */ export interface NoNegatedConditionRule { /** * Disallow negated conditions. * * @see [no-negated-condition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-negated-condition.md) */ 'unicorn/no-negated-condition': NoNegatedConditionRuleConfig; }