Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-unicorn to v47 #2146

Merged
merged 10 commits into from
May 8, 2023
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,17 @@ module.exports = {
'unicorn/filename-case': 'off',
'unicorn/no-null': 'off',
'unicorn/no-array-callback-reference': 'off', // doesn't work well with TypeScript's custom type guards
'unicorn/no-negated-condition': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/no-useless-undefined': 'off',
'unicorn/prefer-optional-catch-binding': 'off', // not supported by current ESLint parser version
'unicorn/prefer-module': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/prefer-at': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/prefer-node-protocol': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/prefer-string-replace-all': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/prefer-ternary': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/prefer-top-level-await': 'off', // turn off to prevent make breaking changes (ref: #2146)
'unicorn/switch-case-braces': 'off', // turn off to prevent make breaking changes (ref: #2146)
FloEdelmann marked this conversation as resolved.
Show resolved Hide resolved

'require-eslint-community': ['error']
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"eslint-plugin-jsonc": "^2.2.1",
"eslint-plugin-node-dependencies": ">=0.5.0 <1.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-unicorn": "^47.0.0",
"eslint-plugin-vue": "file:.",
"espree": "^9.3.2",
"events": "^3.3.0",
Expand Down