@vinicunca/eslint-config 2.15.2 → 2.15.4
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.cjs +10 -11
- package/dist/index.d.cts +170 -99
- package/dist/index.d.ts +170 -99
- package/dist/index.js +9 -10
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -112,23 +112,23 @@ __export(src_exports, {
|
|
|
112
112
|
});
|
|
113
113
|
module.exports = __toCommonJS(src_exports);
|
|
114
114
|
|
|
115
|
-
// ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.
|
|
115
|
+
// ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
117
117
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
118
118
|
|
|
119
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.
|
|
119
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.0/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
|
|
120
120
|
function r(o) {
|
|
121
121
|
if (typeof o != "object" || o === null) return false;
|
|
122
122
|
let e3 = Object.getPrototypeOf(o);
|
|
123
123
|
return e3 === null || e3 === Object.prototype;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.
|
|
126
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.0/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
|
|
127
127
|
function e(r2) {
|
|
128
128
|
return typeof r2 == "number" && !Number.isNaN(r2);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.
|
|
131
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.0/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
132
132
|
function e2(o) {
|
|
133
133
|
return typeof o == "boolean";
|
|
134
134
|
}
|
|
@@ -1339,7 +1339,6 @@ async function perfectionist() {
|
|
|
1339
1339
|
perfectionist: import_eslint_plugin_perfectionist.default
|
|
1340
1340
|
},
|
|
1341
1341
|
rules: {
|
|
1342
|
-
...import_eslint_plugin_perfectionist.default.configs["recommended-natural"].rules,
|
|
1343
1342
|
"perfectionist/sort-exports": [
|
|
1344
1343
|
ERROR,
|
|
1345
1344
|
{ order: "asc", type: "natural" }
|
|
@@ -1370,11 +1369,7 @@ async function perfectionist() {
|
|
|
1370
1369
|
"perfectionist/sort-named-imports": [
|
|
1371
1370
|
ERROR,
|
|
1372
1371
|
{ order: "asc", type: "natural" }
|
|
1373
|
-
]
|
|
1374
|
-
"perfectionist/sort-vue-attributes": [OFF],
|
|
1375
|
-
"perfectionist/sort-objects": OFF,
|
|
1376
|
-
"perfectionist/sort-object-types": OFF,
|
|
1377
|
-
"perfectionist/sort-interfaces": OFF
|
|
1372
|
+
]
|
|
1378
1373
|
}
|
|
1379
1374
|
}
|
|
1380
1375
|
];
|
|
@@ -1647,7 +1642,10 @@ async function sonar() {
|
|
|
1647
1642
|
rules: {
|
|
1648
1643
|
...import_eslint_plugin_sonarjs.default.configs.recommended.rules,
|
|
1649
1644
|
"sonar/todo-tag": OFF,
|
|
1650
|
-
"sonar/pseudo-random": OFF
|
|
1645
|
+
"sonar/pseudo-random": OFF,
|
|
1646
|
+
"sonar/slow-regex": OFF,
|
|
1647
|
+
"sonar/cognitive-complexity": OFF,
|
|
1648
|
+
"sonar/no-unused-vars": OFF
|
|
1651
1649
|
}
|
|
1652
1650
|
}
|
|
1653
1651
|
];
|
|
@@ -2019,6 +2017,7 @@ async function test(options = {}) {
|
|
|
2019
2017
|
name: "vinicunca/test/rules",
|
|
2020
2018
|
rules: {
|
|
2021
2019
|
"node/prefer-global/process": OFF,
|
|
2020
|
+
"sonar/no-duplicate-string": OFF,
|
|
2022
2021
|
"test/consistent-test-it": [ERROR, { fn: "it", withinDescribe: "it" }],
|
|
2023
2022
|
"test/no-identical-title": ERROR,
|
|
2024
2023
|
"test/no-only-tests": isInEditor ? OFF : ERROR,
|