@vinicunca/eslint-config 2.15.2 → 2.15.3
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 +6 -7
- package/dist/index.js +6 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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,
|
package/dist/index.js
CHANGED
|
@@ -1221,7 +1221,6 @@ async function perfectionist() {
|
|
|
1221
1221
|
perfectionist: default5
|
|
1222
1222
|
},
|
|
1223
1223
|
rules: {
|
|
1224
|
-
...default5.configs["recommended-natural"].rules,
|
|
1225
1224
|
"perfectionist/sort-exports": [
|
|
1226
1225
|
ERROR,
|
|
1227
1226
|
{ order: "asc", type: "natural" }
|
|
@@ -1252,11 +1251,7 @@ async function perfectionist() {
|
|
|
1252
1251
|
"perfectionist/sort-named-imports": [
|
|
1253
1252
|
ERROR,
|
|
1254
1253
|
{ order: "asc", type: "natural" }
|
|
1255
|
-
]
|
|
1256
|
-
"perfectionist/sort-vue-attributes": [OFF],
|
|
1257
|
-
"perfectionist/sort-objects": OFF,
|
|
1258
|
-
"perfectionist/sort-object-types": OFF,
|
|
1259
|
-
"perfectionist/sort-interfaces": OFF
|
|
1254
|
+
]
|
|
1260
1255
|
}
|
|
1261
1256
|
}
|
|
1262
1257
|
];
|
|
@@ -1529,7 +1524,10 @@ async function sonar() {
|
|
|
1529
1524
|
rules: {
|
|
1530
1525
|
...default6.configs.recommended.rules,
|
|
1531
1526
|
"sonar/todo-tag": OFF,
|
|
1532
|
-
"sonar/pseudo-random": OFF
|
|
1527
|
+
"sonar/pseudo-random": OFF,
|
|
1528
|
+
"sonar/slow-regex": OFF,
|
|
1529
|
+
"sonar/cognitive-complexity": OFF,
|
|
1530
|
+
"sonar/no-unused-vars": OFF
|
|
1533
1531
|
}
|
|
1534
1532
|
}
|
|
1535
1533
|
];
|
|
@@ -1901,6 +1899,7 @@ async function test(options = {}) {
|
|
|
1901
1899
|
name: "vinicunca/test/rules",
|
|
1902
1900
|
rules: {
|
|
1903
1901
|
"node/prefer-global/process": OFF,
|
|
1902
|
+
"sonar/no-duplicate-string": OFF,
|
|
1904
1903
|
"test/consistent-test-it": [ERROR, { fn: "it", withinDescribe: "it" }],
|
|
1905
1904
|
"test/no-identical-title": ERROR,
|
|
1906
1905
|
"test/no-only-tests": isInEditor ? OFF : ERROR,
|