UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 710 B
import type { RuleConfig } from '../rule-config'; /** * Disallow using `test` as a prefix. * * @see [no-test-prefixes](https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md) */ export type NoTestPrefixesRuleConfig = RuleConfig<[]>; /** * Disallow using `test` as a prefix. * * @see [no-test-prefixes](https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md) */ export interface NoTestPrefixesRule { /** * Disallow using `test` as a prefix. * * @see [no-test-prefixes](https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md) */ 'vitest/no-test-prefixes': NoTestPrefixesRuleConfig; }