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 committed 2022-11-21 09:08:19 +01:00
1 parent 0ce46310ed
commit 666a3dee2d
4 files changed
+914 -799

No files matched your search

+2 -1
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": [
{