UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 727 B
import type { RuleConfig } from '../rule-config'; /** * Disallow the assignment to `exports`. * * @see [no-exports-assign](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-exports-assign.md) */ export type NoExportsAssignRuleConfig = RuleConfig<[]>; /** * Disallow the assignment to `exports`. * * @see [no-exports-assign](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-exports-assign.md) */ export interface NoExportsAssignRule { /** * Disallow the assignment to `exports`. * * @see [no-exports-assign](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-exports-assign.md) */ 'n/no-exports-assign': NoExportsAssignRuleConfig; }