1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-05-18 12:02:33 +02:00

feat: add unicorn/no-typeof-undefined

BREAKING CHANGE: New rule introduced

BREAKING CHANGE: peerDependencies: `eslint-plugin-unicorn@^45.0.0`
This commit is contained in:
Divlo
2022-11-21 09:08:19 +01:00
parent 0ce46310ed
commit 666a3dee2d
4 changed files with 914 additions and 799 deletions

View File

@ -181,7 +181,8 @@
"unicorn/no-this-assignment": "error",
"unicorn/no-zero-fractions": "error",
"unicorn/prefer-node-protocol": "error",
"unicorn/throw-new-error": "error"
"unicorn/throw-new-error": "error",
"unicorn/no-typeof-undefined": "error"
},
"overrides": [
{