eslint-config-xo
Advanced tools
Comparing version 0.42.0 to 0.43.0
17
index.js
@@ -41,2 +41,3 @@ 'use strict'; | ||
], | ||
'no-empty-static-block': 'error', | ||
'no-ex-assign': 'error', | ||
@@ -197,3 +198,8 @@ 'no-extra-boolean-cast': 'error', | ||
], | ||
'prefer-regex-literals': 'error', | ||
'prefer-regex-literals': [ | ||
'error', | ||
{ | ||
disallowRedundantWrapping: true, | ||
}, | ||
], | ||
radix: 'error', | ||
@@ -356,2 +362,9 @@ | ||
], | ||
'logical-assignment-operators': [ | ||
'error', | ||
'always', | ||
{ | ||
enforceForIfStatements: true, | ||
}, | ||
], | ||
'max-depth': 'warn', | ||
@@ -537,3 +550,3 @@ 'max-nested-callbacks': [ | ||
'no-dupe-class-members': 'error', | ||
'no-new-symbol': 'error', | ||
'no-new-native-nonconstructor': 'error', | ||
'no-this-before-super': 'error', | ||
@@ -540,0 +553,0 @@ 'no-useless-computed-key': [ |
{ | ||
"name": "eslint-config-xo", | ||
"version": "0.42.0", | ||
"version": "0.43.0", | ||
"description": "ESLint shareable config for XO", | ||
@@ -56,8 +56,8 @@ "license": "MIT", | ||
"ava": "^2.4.0", | ||
"eslint": "^8.14.0", | ||
"eslint": "^8.27.0", | ||
"is-plain-obj": "^3.0.0" | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=8.14.0" | ||
"eslint": ">=8.27.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16784
626