UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 676 B
import type { RuleConfig } from '../rule-config'; /** * Forbid named exports. * * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) */ export type NoNamedExportRuleConfig = RuleConfig<[]>; /** * Forbid named exports. * * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) */ export interface NoNamedExportRule { /** * Forbid named exports. * * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) */ 'import/no-named-export': NoNamedExportRuleConfig; }