@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 735 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow calls to the `Object` constructor without an argument.
*
* @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor)
*/
export type NoObjectConstructorRuleConfig = RuleConfig<[]>;
/**
* Disallow calls to the `Object` constructor without an argument.
*
* @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor)
*/
export interface NoObjectConstructorRule {
/**
* Disallow calls to the `Object` constructor without an argument.
*
* @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor)
*/
'no-object-constructor': NoObjectConstructorRuleConfig;
}