Skip to content

Commit

Permalink
add no-undef rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Sep 26, 2023
1 parent aebbe0d commit 8902bf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ module.exports = {
'no-extra-boolean-cast': 'error',
'no-redeclare': 'error',
'no-return-await': 'error',
'no-undef': 'error',
'no-unsafe-negation': 'warn',
'no-unused-private-class-members': 'error',
'prefer-const': 'warn',
'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],
Expand All @@ -102,6 +104,7 @@ module.exports = {
'warn',
{ orderedKeys: ['id', 'name', 'title'] },
],
'valid-typeof': 'warn',
},
settings: {
'import/parsers': {
Expand Down

0 comments on commit 8902bf4

Please sign in to comment.