UNPKG

eslint-plugin-no-barrel-files

Version:

ESLint plugin to disallow [barrel files](https://github.com/basarat/typescript-book/blob/master/docs/tips/barrel.md).

37 lines 1.1 kB
import { TSESLint } from '@typescript-eslint/utils'; declare const runtimeMeta: { readonly namespace: "no-barrel-files"; readonly name: string; readonly version: string; }; declare const configs: { readonly recommended: readonly [{ plugins: { 'no-barrel-files': Omit<TSESLint.FlatConfig.Plugin, "configs">; }; rules: { 'no-barrel-files/no-barrel-files': "error"; }; }]; readonly 'flat/recommended': readonly [{ plugins: { 'no-barrel-files': Omit<TSESLint.FlatConfig.Plugin, "configs">; }; rules: { 'no-barrel-files/no-barrel-files': "error"; }; }]; readonly 'legacy-recommended': { readonly plugins: readonly ["no-barrel-files"]; readonly rules: { readonly 'no-barrel-files/no-barrel-files': "error"; }; }; }; declare const plugin: TSESLint.FlatConfig.Plugin & { configs: typeof configs; flat: TSESLint.FlatConfig.Config; meta: typeof runtimeMeta; }; export = plugin; //# sourceMappingURL=index.d.ts.map