Skip to content

Commit 6f1cae0

Browse files
committed
modified: eslint.config.ts
1 parent ca2a92a commit 6f1cae0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

eslint.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import tseslint, { configs } from "typescript-eslint";
99

1010
/* -------------------------------------------------------------------------- */
1111

12-
const ignores = ["**/index.js", "**/index.d.ts"],
13-
projectService = true,
12+
const allowDefaultProject = ["eslint.config.ts"],
13+
ignores = ["**/index.js", "**/index.d.ts"],
14+
projectService = { allowDefaultProject },
1415
tsconfigRootDir = import.meta.dirname,
1516
parserOptions = { projectService, tsconfigRootDir },
1617
languageOptions = { parserOptions },
@@ -19,7 +20,7 @@ const ignores = ["**/index.js", "**/index.d.ts"],
1920
"import-x/no-extraneous-dependencies": [
2021
"error",
2122
{
22-
devDependencies: ["**/eslint.config.ts", "**/build.ts"],
23+
devDependencies: ["**/eslint.config.ts"],
2324
optionalDependencies: false,
2425
},
2526
],

0 commit comments

Comments
 (0)