Skip to content

Commit

Permalink
feat: allow global/native extensions in tests (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Karrys authored Feb 14, 2022
1 parent 6252a44 commit 5ddad11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ module.exports = {
navigator: 'readonly',
window: 'readonly',
},
overrides: [{
files: ['test/**'],
rules: {
'no-global-assign': 'off',
'no-extend-native': 'off',
},
}],
rules: {
'accessor-pairs': 'error',
'array-bracket-spacing': ['error', 'never'],
Expand Down

0 comments on commit 5ddad11

Please sign in to comment.