Skip to content

Commit

Permalink
De-Dupe Rule
Browse files Browse the repository at this point in the history
Remove duplicate rule config and and use the more specifically configured option as the source of truth.
  • Loading branch information
elliot-huffman committed May 7, 2024
1 parent 9130c44 commit e48c548
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default tseslint.config(
}],
"@typescript-eslint/return-await": ["error", "always"],
"no-var": "error",
"prefer-const": "error",
"prefer-const": ["error", { "ignoreReadBeforeAssign": true }],
"prefer-rest-params": "error",
"prefer-spread": "error",
"accessor-pairs": "error",
Expand Down Expand Up @@ -84,7 +84,6 @@ export default tseslint.config(
"no-void": "error",
"no-with": "error",
"one-var": ["error", { "initialized": "never" }],
"prefer-const": ["error", { "ignoreReadBeforeAssign": true }],
"symbol-description": "error",
"unicode-bom": "error"
}
Expand Down

0 comments on commit e48c548

Please sign in to comment.