Skip to content

Commit

Permalink
Fix ESLint no-shadow error on Typescript enums (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
JstnMcBrd authored Jan 26, 2024
1 parent 8cb36e9 commit 56312bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ export default [
},
},
rules: {
// Recommended
...typescriptPlugin.configs['strict-type-checked'].rules,
...typescriptPlugin.configs['stylistic-type-checked'].rules,

// Overrides
'no-shadow': 0, // handled by TypeScript
'no-undef': 0, // handled by TypeScript
},
},
Expand Down

0 comments on commit 56312bc

Please sign in to comment.