eslint-config-heck 7.0.0 → 7.0.1
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/biomeJsTs.json +2 -2
- package/nodeWithBiome.js +8 -2
- package/package.json +1 -1
package/biomeJsTs.json
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"noReactPropAssign": "error",
|
|
141
141
|
"noRestrictedElements": "off",
|
|
142
142
|
"noSecrets": "off",
|
|
143
|
-
"noShadow": "
|
|
143
|
+
"noShadow": "off",
|
|
144
144
|
"noTsIgnore": "error",
|
|
145
145
|
"noUnresolvedImports": "off",
|
|
146
146
|
"noUnwantedPolyfillio": "off",
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"useForComponent": "off",
|
|
162
162
|
"useGoogleFontPreconnect": "error",
|
|
163
163
|
"useIndexOf": "error",
|
|
164
|
-
"useIterableCallbackReturn": "
|
|
164
|
+
"useIterableCallbackReturn": "off",
|
|
165
165
|
"useJsonImportAttribute": "error",
|
|
166
166
|
"useNumericSeparators": "error",
|
|
167
167
|
"useObjectSpread": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -43,7 +43,13 @@ export default [
|
|
|
43
43
|
},
|
|
44
44
|
rules: {
|
|
45
45
|
// Possible problems
|
|
46
|
-
"array-callback-return":
|
|
46
|
+
"array-callback-return": [
|
|
47
|
+
"error",
|
|
48
|
+
{
|
|
49
|
+
allowImplicit: true,
|
|
50
|
+
checkForEach: false,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
47
53
|
"constructor-super": "off",
|
|
48
54
|
"for-direction": "off",
|
|
49
55
|
"getter-return": "off",
|
|
@@ -212,7 +218,7 @@ export default [
|
|
|
212
218
|
"no-return-assign": "off",
|
|
213
219
|
"no-script-url": "error",
|
|
214
220
|
"no-sequences": "off",
|
|
215
|
-
"no-shadow": "
|
|
221
|
+
"no-shadow": "error",
|
|
216
222
|
"no-shadow-restricted-names": "off",
|
|
217
223
|
"no-ternary": "off",
|
|
218
224
|
"no-throw-literal": "off",
|