You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: .eslintrc.cjs » eslint-config-es/node:
Configuration for rule "unicorn/explicit-length-check" is invalid:
Value {"nonZero":"greaterThan","non-zero":"greater-than"} should NOT have additional properties.
is showing with eslint-plugin-unicorn@39.0.0 and later (current is 42.0.0).
Error: .eslintrc.cjs » eslint-config-es/node:
Configuration for rule "unicorn/explicit-length-check" is invalid:
Value {"nonZero":"greaterThan","non-zero":"greater-than"} should NOT have additional properties.
and it's not possible to even disable that rule by:
rules: {
'unicorn/explicit-length-check': 0
}
I guess you need to update this rule in eslint-config-es
The text was updated successfully, but these errors were encountered:
Error: .eslintrc.cjs » eslint-config-es/node:
Configuration for rule "unicorn/explicit-length-check" is invalid:
Value {"nonZero":"greaterThan","non-zero":"greater-than"} should NOT have additional properties.
is showing with eslint-plugin-unicorn@39.0.0 and later (current is 42.0.0).
package.json:
eslint test.js
results in the error
and it's not possible to even disable that rule by:
I guess you need to update this rule in eslint-config-es
The text was updated successfully, but these errors were encountered: