Skip to content

Commit

Permalink
turn @typescript-eslint/no-explicit-any into error (#10)
Browse files Browse the repository at this point in the history
any is a less type-safe alternative to unknown
  • Loading branch information
joao-paulo-parity authored Jun 28, 2022
1 parent a5b700e commit e116c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eslint/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const typescriptRules = {
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/restrict-template-expressions": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/await-thenable": "error",
"no-return-await": "off", // conflicts with @typescript-eslint/return-await
Expand Down

0 comments on commit e116c69

Please sign in to comment.