mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 12:07:34 +00:00
🎉 ESLint refinements (#235)
ESLint, no any, no inferrable types, unused vars - warning thx to @GrayStrider
This commit is contained in:
committed by
Piotr Błażejewicz (Peter Blazejewicz)
parent
1098943419
commit
69124f2765
@@ -9,7 +9,12 @@
|
||||
"semi": ["error", "always"],
|
||||
"quotes": ["error", "double"],
|
||||
"@typescript-eslint/explicit-function-return-type": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-inferrable-types": "off"
|
||||
"@typescript-eslint/no-explicit-any": 1,
|
||||
"@typescript-eslint/no-inferrable-types": [
|
||||
"warn", {
|
||||
"ignoreParameters": true
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-unused-vars": "warn"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user