Skip to content

Commit

Permalink
fix: custom enum with eslint errors (#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
xupea committed May 18, 2023
1 parent 5b5a4df commit c954896
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
extends: 'erb',
plugins: ['@typescript-eslint'],
rules: {
// A temporary hack related to IDE not resolving correct package.json
'import/no-extraneous-dependencies': 'off',
Expand All @@ -8,6 +9,10 @@ module.exports = {
'import/extensions': 'off',
'import/no-unresolved': 'off',
'import/no-import-module-exports': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
},
parserOptions: {
ecmaVersion: 2020,
Expand Down

0 comments on commit c954896

Please sign in to comment.