Skip to content

Commit fb4ca48

Browse files
chore: make no-config-imports rule tied to config itself
1 parent 4dacc94 commit fb4ca48

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

eslint.config.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ const testFiles = ["tests/**/*.test.ts", "tests/**/*.ts"];
1111

1212
const files = [...testFiles, "src/**/*.ts", "scripts/**/*.ts"];
1313

14-
// Files that are allowed to import value exports from config.ts
15-
const allowedConfigValueImportFiles = [
16-
// Main entry point that injects the config
17-
"src/index.ts",
18-
// Config resource definition that works with the some config values
19-
"src/resources/common/config.ts",
20-
];
21-
22-
const configFilePath = path.resolve(import.meta.dirname, "src/common/config.js");
23-
2414
export default defineConfig([
2515
{ files, plugins: { js }, extends: ["js/recommended"] },
2616
{ files, languageOptions: { globals: globals.node } },

0 commit comments

Comments
 (0)