Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 1e54c07

Browse files
GrayStriderpeterblazejewicz
authored andcommitted
🎉 ESLint refinements (#235)
ESLint, no any, no inferrable types, unused vars - warning thx to @GrayStrider
1 parent 1409fd7 commit 1e54c07

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.eslintrc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
"semi": ["error", "always"],
1010
"quotes": ["error", "double"],
1111
"@typescript-eslint/explicit-function-return-type": "off",
12-
"@typescript-eslint/no-explicit-any": "off",
13-
"@typescript-eslint/no-inferrable-types": "off"
12+
"@typescript-eslint/no-explicit-any": 1,
13+
"@typescript-eslint/no-inferrable-types": [
14+
"warn", {
15+
"ignoreParameters": true
16+
}
17+
],
18+
"@typescript-eslint/no-unused-vars": "warn"
1419
}
1520
}

0 commit comments

Comments
 (0)