@vinicunca/eslint-config 2.4.3 → 2.4.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 -8
- package/dist/index.d.cts +268 -242
- package/dist/index.d.ts +268 -242
- package/dist/index.js +10 -8
- package/package.json +13 -12
package/dist/index.js
CHANGED
|
@@ -2084,6 +2084,7 @@ function sortTsconfig() {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
2086
|
// src/configs/test.ts
|
|
2087
|
+
var _pluginTest;
|
|
2087
2088
|
async function test(options = {}) {
|
|
2088
2089
|
const {
|
|
2089
2090
|
files = GLOB_TESTS,
|
|
@@ -2098,18 +2099,19 @@ async function test(options = {}) {
|
|
|
2098
2099
|
// @ts-expect-error missing types
|
|
2099
2100
|
interopDefault(import("eslint-plugin-no-only-tests"))
|
|
2100
2101
|
]);
|
|
2102
|
+
_pluginTest = _pluginTest || {
|
|
2103
|
+
...pluginVitest,
|
|
2104
|
+
rules: {
|
|
2105
|
+
...pluginVitest.rules,
|
|
2106
|
+
// extend `test/no-only-tests` rule
|
|
2107
|
+
...pluginNoOnlyTests.rules
|
|
2108
|
+
}
|
|
2109
|
+
};
|
|
2101
2110
|
return [
|
|
2102
2111
|
{
|
|
2103
2112
|
name: "vinicunca/test/setup",
|
|
2104
2113
|
plugins: {
|
|
2105
|
-
test:
|
|
2106
|
-
...pluginVitest,
|
|
2107
|
-
rules: {
|
|
2108
|
-
...pluginVitest.rules,
|
|
2109
|
-
// extend `test/no-only-tests` rule
|
|
2110
|
-
...pluginNoOnlyTests.rules
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2114
|
+
test: _pluginTest
|
|
2113
2115
|
}
|
|
2114
2116
|
},
|
|
2115
2117
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.4",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -59,31 +59,32 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@stylistic/eslint-plugin": "^1.7.0",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
63
|
-
"@typescript-eslint/parser": "^7.
|
|
64
|
-
"@unocss/eslint-plugin": "^0.
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
63
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
64
|
+
"@unocss/eslint-plugin": "^0.59.0",
|
|
65
65
|
"@vinicunca/eslint-plugin-vinicunca": "^1.0.10",
|
|
66
|
+
"eslint": "^9.0.0",
|
|
66
67
|
"eslint-config-flat-gitignore": "^0.1.5",
|
|
67
|
-
"eslint-flat-config-utils": "^0.2.
|
|
68
|
+
"eslint-flat-config-utils": "^0.2.2",
|
|
68
69
|
"eslint-merge-processors": "^0.1.0",
|
|
69
70
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
70
71
|
"eslint-plugin-format": "^0.1.0",
|
|
71
72
|
"eslint-plugin-import-x": "^0.5.0",
|
|
72
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
73
|
+
"eslint-plugin-jsdoc": "^48.2.3",
|
|
73
74
|
"eslint-plugin-jsonc": "^2.15.0",
|
|
74
75
|
"eslint-plugin-markdown": "^4.0.1",
|
|
75
|
-
"eslint-plugin-n": "^
|
|
76
|
+
"eslint-plugin-n": "^17.2.0",
|
|
76
77
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
77
|
-
"eslint-plugin-perfectionist": "^2.
|
|
78
|
+
"eslint-plugin-perfectionist": "^2.8.0",
|
|
78
79
|
"eslint-plugin-react": "^7.34.1",
|
|
79
80
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
80
|
-
"eslint-plugin-unicorn": "^
|
|
81
|
+
"eslint-plugin-unicorn": "^52.0.0",
|
|
81
82
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
82
|
-
"eslint-plugin-vitest": "^0.
|
|
83
|
-
"eslint-plugin-vue": "^9.24.
|
|
83
|
+
"eslint-plugin-vitest": "^0.5.1",
|
|
84
|
+
"eslint-plugin-vue": "^9.24.1",
|
|
84
85
|
"eslint-plugin-yml": "^1.14.0",
|
|
85
86
|
"eslint-processor-vue-blocks": "^0.1.1",
|
|
86
|
-
"eslint-typegen": "^0.2.
|
|
87
|
+
"eslint-typegen": "^0.2.2",
|
|
87
88
|
"globals": "^15.0.0",
|
|
88
89
|
"jsonc-eslint-parser": "^2.4.0",
|
|
89
90
|
"local-pkg": "^0.5.0",
|