UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 673 B
import type { RuleConfig } from '../rule-config'; /** * Disallow usage of isMounted. * * @see [no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-is-mounted.md) */ export type NoIsMountedRuleConfig = RuleConfig<[]>; /** * Disallow usage of isMounted. * * @see [no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-is-mounted.md) */ export interface NoIsMountedRule { /** * Disallow usage of isMounted. * * @see [no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-is-mounted.md) */ 'react/no-is-mounted': NoIsMountedRuleConfig; }