Skip to content

Commit 05b7e2f

Browse files
committed
modified: eslint.config.ts
1 parent 28a357a commit 05b7e2f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

eslint.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ const ignores = ["**/index.js", "**/index.d.ts"],
1515
parserOptions = { projectService, tsconfigRootDir },
1616
languageOptions = { parserOptions },
1717
rules: FlatConfig.Rules = {
18-
"@typescript-eslint/no-shadow": "error",
19-
"@typescript-eslint/no-use-before-define": "error",
18+
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
2019
"import-x/no-extraneous-dependencies": [
2120
"error",
2221
{
2322
devDependencies: ["**/eslint.config.ts", "**/build.ts"],
2423
optionalDependencies: false,
2524
},
2625
],
27-
"no-shadow": "off",
28-
"no-use-before-define": "off",
2926
};
3027

3128
/* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)