Skip to content

Commit

Permalink
style: enable more eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
piellardj authored and Sceat committed Mar 6, 2024
1 parent 637bc9f commit babe810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ecmaVersion": 12
},
"rules": {
"camelcase": "off",
"camelcase": "error",
"no-var": "error",
"object-shorthand": "error",
"prefer-const": ["error", { "destructuring": "any" }],
Expand All @@ -18,7 +18,7 @@
"prefer-destructuring": "error",
"prefer-numeric-literals": "error",
"import/order": ["error", { "newlines-between": "always" }],
"no-throw-literal": 0,
"no-throw-literal": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
}
Expand Down

0 comments on commit babe810

Please sign in to comment.