@jsse/eslint-config 0.2.17 → 0.2.18
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/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +9 -29
- package/dist/index.d.cts +196 -104
- package/dist/index.d.ts +196 -104
- package/dist/index.js +9 -29
- package/package.json +12 -12
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -10726,32 +10726,7 @@ function typescriptRulesTypeOblivious() {
|
|
|
10726
10726
|
"no-console": [
|
|
10727
10727
|
"warn",
|
|
10728
10728
|
{
|
|
10729
|
-
allow: [
|
|
10730
|
-
"log",
|
|
10731
|
-
"warn",
|
|
10732
|
-
"dir",
|
|
10733
|
-
"time",
|
|
10734
|
-
"timeEnd",
|
|
10735
|
-
"timeLog",
|
|
10736
|
-
"trace",
|
|
10737
|
-
"assert",
|
|
10738
|
-
"clear",
|
|
10739
|
-
"count",
|
|
10740
|
-
"countReset",
|
|
10741
|
-
"group",
|
|
10742
|
-
"groupEnd",
|
|
10743
|
-
"table",
|
|
10744
|
-
"debug",
|
|
10745
|
-
"info",
|
|
10746
|
-
"dirxml",
|
|
10747
|
-
"error",
|
|
10748
|
-
"groupCollapsed",
|
|
10749
|
-
"Console",
|
|
10750
|
-
"profile",
|
|
10751
|
-
"profileEnd",
|
|
10752
|
-
"timeStamp",
|
|
10753
|
-
"context"
|
|
10754
|
-
]
|
|
10729
|
+
allow: ["warn", "error"]
|
|
10755
10730
|
}
|
|
10756
10731
|
],
|
|
10757
10732
|
"object-curly-spacing": "off",
|
|
@@ -12191,6 +12166,7 @@ var unicorn = async () => {
|
|
|
12191
12166
|
...unicornRecommended(),
|
|
12192
12167
|
...unicornOff(),
|
|
12193
12168
|
"unicorn/better-regex": "error",
|
|
12169
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
12194
12170
|
"unicorn/custom-error-definition": "error",
|
|
12195
12171
|
// Pass error message when throwing errors
|
|
12196
12172
|
"unicorn/error-message": "error",
|
|
@@ -12649,9 +12625,13 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
12649
12625
|
}
|
|
12650
12626
|
}
|
|
12651
12627
|
for (const config of combinedConfigs) {
|
|
12652
|
-
for (const
|
|
12653
|
-
if (
|
|
12654
|
-
|
|
12628
|
+
for (const cfgRules of [config.rules, config.plugins]) {
|
|
12629
|
+
if (cfgRules) {
|
|
12630
|
+
for (const rule of off) {
|
|
12631
|
+
if (cfgRules[rule] !== void 0 && cfgRules[rule] !== "off" && cfgRules[rule] !== 0) {
|
|
12632
|
+
cfgRules[rule] = "off";
|
|
12633
|
+
}
|
|
12634
|
+
}
|
|
12655
12635
|
}
|
|
12656
12636
|
}
|
|
12657
12637
|
}
|