UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

26 lines (23 loc) 703 B
import type { RuleConfig } from '../rule-config'; /** * * @deprecated * * @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#no-unsafe-regex) */ export type NoUnsafeRegexRuleConfig = RuleConfig<[]>; /** * * @deprecated * * @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#no-unsafe-regex) */ export interface NoUnsafeRegexRule { /** * * @deprecated * * @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/deprecated-rules.md#no-unsafe-regex) */ 'unicorn/no-unsafe-regex': NoUnsafeRegexRuleConfig; }