Skip to content

Commit 4993080

Browse files
committed
add a rule to prohibit use of Intl global
1 parent 6f8fc83 commit 4993080

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = defineConfig({
3232
eqeqeq: ['error', 'always', { null: 'ignore' }],
3333
'no-else-return': 'error',
3434
'prefer-template': 'error',
35+
'no-restricted-globals': ['error', 'Intl'],
3536

3637
'deprecation/deprecation': 'error',
3738

0 commit comments

Comments
 (0)