eslint-plugin-no-barrel-files
Version:
ESLint plugin for reducing barrel-file usage in two ways:
30 lines • 949 B
TypeScript
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: readonly ["no-barrel-files"];
readonly rules: {
readonly 'no-barrel-files/no-barrel-files': "error";
readonly 'no-barrel-files/prefer-source-imports': "error";
};
};
readonly 'flat/recommended': readonly [{
plugins: {
'no-barrel-files': Omit<TSESLint.FlatConfig.Plugin, "configs">;
};
rules: {
'no-barrel-files/no-barrel-files': "error";
'no-barrel-files/prefer-source-imports': "error";
};
}];
};
declare const plugin: TSESLint.FlatConfig.Plugin & {
configs: typeof configs;
meta: typeof runtimeMeta;
};
export = plugin;
//# sourceMappingURL=index.d.ts.map