Skip to content

Commit 4cf1708

Browse files
author
Jerry Bruwes
committed
modified: eslint.config.ts
1 parent ee9baa1 commit 4cf1708

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

eslint.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,21 @@ import eslintrc from "./.eslintrc.json";
1313
/* -------------------------------------------------------------------------- */
1414

1515
const compat = new FlatCompat(),
16-
ignores = ["index.js", "index.d.ts"],
16+
ignores = ["**/index.js", "**/index.d.ts"],
1717
projectService = true,
1818
tsconfigRootDir = import.meta.dirname,
1919
parserOptions = { projectService, tsconfigRootDir },
2020
languageOptions = { parserOptions },
2121
rules: FlatConfig.Rules = {
2222
"@typescript-eslint/no-shadow": "error",
2323
"@typescript-eslint/no-use-before-define": "error",
24+
"import-x/no-extraneous-dependencies": [
25+
"error",
26+
{
27+
devDependencies: ["**/eslint.config.ts", "**/build.ts"],
28+
optionalDependencies: false,
29+
},
30+
],
2431
"no-shadow": "off",
2532
"no-use-before-define": "off",
2633
};

0 commit comments

Comments
 (0)