We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847f1d4 commit 4a2441eCopy full SHA for 4a2441e
eslint.config.ts
@@ -12,13 +12,11 @@ import eslintrc from "./.eslintrc.json";
12
13
/* -------------------------------------------------------------------------- */
14
15
-const projectService = true,
16
- tsconfigRootDir = import.meta.dirname;
17
-
18
-const parserOptions = { projectService, tsconfigRootDir };
19
20
const compat = new FlatCompat(),
21
ignores = ["index.js", "index.d.ts"],
+ projectService = true,
+ tsconfigRootDir = import.meta.dirname,
+ parserOptions = { projectService, tsconfigRootDir },
22
languageOptions = { parserOptions },
23
rules: FlatConfig.Rules = {
24
"@typescript-eslint/no-shadow": "error",
0 commit comments