Skip to content

Commit

Permalink
fix: use new eslint rules (fixes #530)
Browse files Browse the repository at this point in the history
  • Loading branch information
freaktechnik committed Apr 22, 2023
1 parent cbdd3eb commit 7613760
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/eslint-config-base/index.js
Expand Up @@ -245,6 +245,10 @@ module.exports = {
"no-misleading-character-class": 2,
"no-prototype-builtins": 0,
"no-negated-condition": "warn",
"prefer-object-has-own": "warn",
"no-constant-binary-expression": "error",
"no-new-native-nonconstructor": "error",
"no-empty-static-block": "error",
"filenames/match-regex": [
2,
"^[a-z0-9-]+$"
Expand Down Expand Up @@ -347,7 +351,6 @@ module.exports = {
"unicorn/require-array-join-separator": "error",
"unicorn/require-number-to-fixed-digits-argument": "error",
"unicorn/prefer-prototype-methods": "error",
"unicorn/prefer-object-has-own": "warn",
"unicorn/no-array-method-this-argument": "warn",
"unicorn/no-useless-fallback-in-spread": "error",
"unicorn/no-empty-file": "error",
Expand Down

0 comments on commit 7613760

Please sign in to comment.