eslint-config-isaacscript 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-eslint.js +6 -2
- package/base-typescript-eslint.js +2 -1
- package/package.json +1 -1
package/base-eslint.js
CHANGED
|
@@ -188,7 +188,9 @@ const SUGGESTIONS = {
|
|
|
188
188
|
],
|
|
189
189
|
|
|
190
190
|
"max-classes-per-file": "error",
|
|
191
|
-
|
|
191
|
+
|
|
192
|
+
/** Disabled since this rule is too prescriptive for general-purpose use. */
|
|
193
|
+
"max-depth": "off",
|
|
192
194
|
|
|
193
195
|
/**
|
|
194
196
|
* Disabled because enforcing an arbitrary line threshold for every file in a project does not
|
|
@@ -241,7 +243,9 @@ const SUGGESTIONS = {
|
|
|
241
243
|
"no-continue": "off",
|
|
242
244
|
|
|
243
245
|
"no-delete-var": "error",
|
|
244
|
-
|
|
246
|
+
|
|
247
|
+
/** Disabled since it is incompatible with the `unicorn/better-regex` rule. */
|
|
248
|
+
"no-div-regex": "off",
|
|
245
249
|
|
|
246
250
|
/** The `allowElseIf` option is disabled to make the rule stricter. */
|
|
247
251
|
"no-else-return": [
|
|
@@ -56,7 +56,8 @@ const SUPPORTED_RULES = {
|
|
|
56
56
|
/**
|
|
57
57
|
* The options are [copied from
|
|
58
58
|
* Airbnb](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/lib/shared.js).
|
|
59
|
-
* We also allow a leading underscore, which signifies that
|
|
59
|
+
* We also allow a leading underscore, which signifies that the element is temporarily not being
|
|
60
|
+
* used.
|
|
60
61
|
*/
|
|
61
62
|
"@typescript-eslint/naming-convention": [
|
|
62
63
|
"error",
|