Skip to content

Commit

Permalink
error -> warn for unused imports/variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vidvidvid committed Oct 30, 2024
1 parent 6a4b0a9 commit 60ff5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
},
"rules": {
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
"@typescript-eslint/no-unused-vars": "warn",
"unused-imports/no-unused-imports": "warn",
"import/order": [
"error",
{
Expand Down Expand Up @@ -83,15 +85,13 @@
],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/sort-type-constituents": "error",
"no-console": ["error", { "allow": ["warn", "error"] }],
"react/self-closing-comp": ["error", { "component": true, "html": true }],
"react-hooks/exhaustive-deps": "error",
"react-hooks/rules-of-hooks": "error",
"react/display-name": "off",
"react/prop-types": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
Expand Down

0 comments on commit 60ff5f4

Please sign in to comment.