Skip to content

Commit 8ef4cfe

Browse files
committed
Disable unicorn/prefer-global-this rule
1 parent 22e5fcd commit 8ef4cfe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eslint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,14 @@ module.exports = [
188188
'unicorn/no-null': 'off',
189189
'unicorn/no-array-callback-reference': 'off', // doesn't work well with TypeScript's custom type guards
190190
'unicorn/no-useless-undefined': 'off',
191-
'unicorn/prefer-optional-catch-binding': 'off', // not supported by current ESLint parser version
191+
'unicorn/prefer-global-this': 'off',
192192
'unicorn/prefer-module': 'off',
193-
'unicorn/prevent-abbreviations': 'off',
193+
'unicorn/prefer-optional-catch-binding': 'off', // not supported by current ESLint parser version
194194
'unicorn/prefer-at': 'off', // turn off to prevent make breaking changes (ref: #2146)
195195
'unicorn/prefer-node-protocol': 'off', // turn off to prevent make breaking changes (ref: #2146)
196196
'unicorn/prefer-string-replace-all': 'off', // turn off to prevent make breaking changes (ref: #2146)
197197
'unicorn/prefer-top-level-await': 'off', // turn off to prevent make breaking changes (ref: #2146)
198+
'unicorn/prevent-abbreviations': 'off',
198199

199200
'internal/require-eslint-community': ['error']
200201
}

0 commit comments

Comments
 (0)