@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
29 lines (26 loc) • 726 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow negating the left operand in `in` expressions.
*
* @deprecated
*
* @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs)
*/
export type NoNegatedInLhsRuleConfig = RuleConfig<[]>;
/**
* Disallow negating the left operand in `in` expressions.
*
* @deprecated
*
* @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs)
*/
export interface NoNegatedInLhsRule {
/**
* Disallow negating the left operand in `in` expressions.
*
* @deprecated
*
* @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs)
*/
'no-negated-in-lhs': NoNegatedInLhsRuleConfig;
}