Skip to content

Commit 4a2441e

Browse files
author
Jerry Bruwes
committed
modified: eslint.config.ts
1 parent 847f1d4 commit 4a2441e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

eslint.config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ import eslintrc from "./.eslintrc.json";
1212

1313
/* -------------------------------------------------------------------------- */
1414

15-
const projectService = true,
16-
tsconfigRootDir = import.meta.dirname;
17-
18-
const parserOptions = { projectService, tsconfigRootDir };
19-
2015
const compat = new FlatCompat(),
2116
ignores = ["index.js", "index.d.ts"],
17+
projectService = true,
18+
tsconfigRootDir = import.meta.dirname,
19+
parserOptions = { projectService, tsconfigRootDir },
2220
languageOptions = { parserOptions },
2321
rules: FlatConfig.Rules = {
2422
"@typescript-eslint/no-shadow": "error",

0 commit comments

Comments
 (0)