Skip to content

Commit

Permalink
add a rule to prohibit use of Intl global
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmayer committed Jul 3, 2023
1 parent 6f8fc83 commit 4993080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -32,6 +32,7 @@ module.exports = defineConfig({
eqeqeq: ['error', 'always', { null: 'ignore' }],
'no-else-return': 'error',
'prefer-template': 'error',
'no-restricted-globals': ['error', 'Intl'],

'deprecation/deprecation': 'error',

Expand Down

0 comments on commit 4993080

Please sign in to comment.