@ofk/eslint-config 0.0.1 → 0.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/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -341,7 +341,7 @@ var jsStrict = import_typescript_eslint3.default.config(
|
|
|
341
341
|
"no-extend-native": "error",
|
|
342
342
|
"no-extra-bind": "error",
|
|
343
343
|
"no-extra-label": "error",
|
|
344
|
-
"no-implicit-coercion": "error",
|
|
344
|
+
"no-implicit-coercion": ["error", { allow: ["!!"] }],
|
|
345
345
|
"no-implicit-globals": "off",
|
|
346
346
|
// disabled for use in esm
|
|
347
347
|
"no-implied-eval": "error",
|
|
@@ -545,7 +545,7 @@ var perfectionistStrict = import_typescript_eslint5.default.config(
|
|
|
545
545
|
["parent", "sibling", "index"],
|
|
546
546
|
"object",
|
|
547
547
|
"side-effect",
|
|
548
|
-
"style",
|
|
548
|
+
"side-effect-style",
|
|
549
549
|
"unknown"
|
|
550
550
|
],
|
|
551
551
|
internalPattern: [
|
|
@@ -1129,7 +1129,7 @@ function defineBaseConfig({
|
|
|
1129
1129
|
ignores ? { ignores } : {},
|
|
1130
1130
|
jsOptions ? js(jsOptions) : {},
|
|
1131
1131
|
tsOptions ? ts(tsOptions) : {},
|
|
1132
|
-
importsOptions ? imports({ typescript:
|
|
1132
|
+
importsOptions ? imports({ typescript: !!tsOptions, ...importsOptions }) : {},
|
|
1133
1133
|
unusedImportsOptions ? unusedImportsStrict : {},
|
|
1134
1134
|
eslintCommentsOptions ? eslintCommentsStrict : {},
|
|
1135
1135
|
vitestOptions ? vitest(vitestOptions) : {},
|
package/dist/index.mjs
CHANGED
|
@@ -305,7 +305,7 @@ var jsStrict = pluginTs3.config(
|
|
|
305
305
|
"no-extend-native": "error",
|
|
306
306
|
"no-extra-bind": "error",
|
|
307
307
|
"no-extra-label": "error",
|
|
308
|
-
"no-implicit-coercion": "error",
|
|
308
|
+
"no-implicit-coercion": ["error", { allow: ["!!"] }],
|
|
309
309
|
"no-implicit-globals": "off",
|
|
310
310
|
// disabled for use in esm
|
|
311
311
|
"no-implied-eval": "error",
|
|
@@ -509,7 +509,7 @@ var perfectionistStrict = pluginTs5.config(
|
|
|
509
509
|
["parent", "sibling", "index"],
|
|
510
510
|
"object",
|
|
511
511
|
"side-effect",
|
|
512
|
-
"style",
|
|
512
|
+
"side-effect-style",
|
|
513
513
|
"unknown"
|
|
514
514
|
],
|
|
515
515
|
internalPattern: [
|
|
@@ -1093,7 +1093,7 @@ function defineBaseConfig({
|
|
|
1093
1093
|
ignores ? { ignores } : {},
|
|
1094
1094
|
jsOptions ? js(jsOptions) : {},
|
|
1095
1095
|
tsOptions ? ts(tsOptions) : {},
|
|
1096
|
-
importsOptions ? imports({ typescript:
|
|
1096
|
+
importsOptions ? imports({ typescript: !!tsOptions, ...importsOptions }) : {},
|
|
1097
1097
|
unusedImportsOptions ? unusedImportsStrict : {},
|
|
1098
1098
|
eslintCommentsOptions ? eslintCommentsStrict : {},
|
|
1099
1099
|
vitestOptions ? vitest(vitestOptions) : {},
|