@datadayrepos/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 554 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow the use of the `__proto__` property.
*
* @see [no-proto](https://eslint.org/docs/latest/rules/no-proto)
*/
export type NoProtoRuleConfig = RuleConfig<[]>;
/**
* Disallow the use of the `__proto__` property.
*
* @see [no-proto](https://eslint.org/docs/latest/rules/no-proto)
*/
export interface NoProtoRule {
/**
* Disallow the use of the `__proto__` property.
*
* @see [no-proto](https://eslint.org/docs/latest/rules/no-proto)
*/
'no-proto': NoProtoRuleConfig;
}