UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

26 lines (23 loc) 760 B
import type { RuleConfig } from '../rule-config'; /** * * @deprecated * * @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#prefer-object-has-own) */ export type PreferObjectHasOwnRuleConfig = RuleConfig<[]>; /** * * @deprecated * * @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#prefer-object-has-own) */ export interface PreferObjectHasOwnRule { /** * * @deprecated * * @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#prefer-object-has-own) */ 'unicorn/prefer-object-has-own': PreferObjectHasOwnRuleConfig; }