@vinicunca/eslint-config 2.12.2 → 2.13.0
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 +25 -4
- package/dist/index.d.cts +576 -435
- package/dist/index.d.ts +576 -435
- package/dist/index.js +24 -3
- package/package.json +20 -20
package/dist/index.js
CHANGED
|
@@ -1222,16 +1222,37 @@ async function perfectionist() {
|
|
|
1222
1222
|
},
|
|
1223
1223
|
rules: {
|
|
1224
1224
|
...default5.configs["recommended-natural"].rules,
|
|
1225
|
+
"perfectionist/sort-exports": [
|
|
1226
|
+
ERROR,
|
|
1227
|
+
{ order: "asc", type: "natural" }
|
|
1228
|
+
],
|
|
1225
1229
|
"perfectionist/sort-imports": [
|
|
1226
1230
|
ERROR,
|
|
1227
1231
|
{
|
|
1228
|
-
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1232
|
+
groups: [
|
|
1233
|
+
"type",
|
|
1234
|
+
["parent-type", "sibling-type", "index-type"],
|
|
1235
|
+
"builtin",
|
|
1236
|
+
"external",
|
|
1237
|
+
["internal", "internal-type"],
|
|
1238
|
+
["parent", "sibling", "index"],
|
|
1239
|
+
"side-effect",
|
|
1240
|
+
"object",
|
|
1241
|
+
"unknown"
|
|
1231
1242
|
],
|
|
1243
|
+
newlinesBetween: "ignore",
|
|
1244
|
+
order: "asc",
|
|
1232
1245
|
type: "natural"
|
|
1233
1246
|
}
|
|
1234
1247
|
],
|
|
1248
|
+
"perfectionist/sort-named-exports": [
|
|
1249
|
+
ERROR,
|
|
1250
|
+
{ order: "asc", type: "natural" }
|
|
1251
|
+
],
|
|
1252
|
+
"perfectionist/sort-named-imports": [
|
|
1253
|
+
ERROR,
|
|
1254
|
+
{ order: "asc", type: "natural" }
|
|
1255
|
+
],
|
|
1235
1256
|
"perfectionist/sort-vue-attributes": [OFF]
|
|
1236
1257
|
}
|
|
1237
1258
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.13.0",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"node": ">=20.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
58
|
+
"@eslint-react/eslint-plugin": "^1.17.1",
|
|
59
59
|
"@prettier/plugin-xml": "^3.4.1",
|
|
60
|
-
"astro-eslint-parser": "^1.0
|
|
61
|
-
"eslint": "^9.
|
|
60
|
+
"astro-eslint-parser": "^1.1.0",
|
|
61
|
+
"eslint": "^9.15.0",
|
|
62
62
|
"eslint-plugin-astro": "^1.3.1",
|
|
63
63
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
64
64
|
"eslint-plugin-react-refresh": "^0.4.14",
|
|
65
|
-
"eslint-plugin-solid": "^0.14.
|
|
65
|
+
"eslint-plugin-solid": "^0.14.4",
|
|
66
66
|
"eslint-plugin-svelte": ">=2.46.0",
|
|
67
67
|
"prettier-plugin-astro": "^0.14.1",
|
|
68
68
|
"prettier-plugin-slidev": "^1.0.5",
|
|
@@ -105,37 +105,37 @@
|
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@antfu/install-pkg": "^0.4.1",
|
|
108
|
-
"@clack/prompts": "^0.
|
|
108
|
+
"@clack/prompts": "^0.8.2",
|
|
109
109
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
110
110
|
"@eslint/markdown": "^6.2.1",
|
|
111
|
-
"@stylistic/eslint-plugin": "^2.
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
113
|
-
"@typescript-eslint/parser": "^8.
|
|
114
|
-
"@unocss/eslint-plugin": "^0.64.
|
|
115
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
111
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.16.0",
|
|
113
|
+
"@typescript-eslint/parser": "^8.16.0",
|
|
114
|
+
"@unocss/eslint-plugin": "^0.64.1",
|
|
115
|
+
"@vitest/eslint-plugin": "^1.1.10",
|
|
116
116
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
117
117
|
"eslint-flat-config-utils": "^0.4.0",
|
|
118
118
|
"eslint-merge-processors": "^0.1.0",
|
|
119
119
|
"eslint-plugin-antfu": "^2.7.0",
|
|
120
120
|
"eslint-plugin-command": "^0.2.6",
|
|
121
121
|
"eslint-plugin-format": "^0.1.2",
|
|
122
|
-
"eslint-plugin-import-x": "^4.4.
|
|
123
|
-
"eslint-plugin-jsdoc": "^50.
|
|
124
|
-
"eslint-plugin-jsonc": "^2.
|
|
125
|
-
"eslint-plugin-n": "^17.
|
|
122
|
+
"eslint-plugin-import-x": "^4.4.3",
|
|
123
|
+
"eslint-plugin-jsdoc": "^50.5.0",
|
|
124
|
+
"eslint-plugin-jsonc": "^2.18.2",
|
|
125
|
+
"eslint-plugin-n": "^17.14.0",
|
|
126
126
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
127
|
-
"eslint-plugin-perfectionist": "^
|
|
128
|
-
"eslint-plugin-regexp": "^2.
|
|
127
|
+
"eslint-plugin-perfectionist": "^4.1.2",
|
|
128
|
+
"eslint-plugin-regexp": "^2.7.0",
|
|
129
129
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
130
130
|
"eslint-plugin-toml": "^0.11.1",
|
|
131
|
-
"eslint-plugin-unicorn": "^56.0.
|
|
131
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
132
132
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
133
|
-
"eslint-plugin-vue": "^9.
|
|
133
|
+
"eslint-plugin-vue": "^9.31.0",
|
|
134
134
|
"eslint-plugin-yml": "^1.15.0",
|
|
135
135
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
136
136
|
"globals": "^15.12.0",
|
|
137
137
|
"jsonc-eslint-parser": "^2.4.0",
|
|
138
|
-
"local-pkg": "^0.5.
|
|
138
|
+
"local-pkg": "^0.5.1",
|
|
139
139
|
"toml-eslint-parser": "^0.10.0",
|
|
140
140
|
"vue-eslint-parser": "^9.4.3",
|
|
141
141
|
"yaml-eslint-parser": "^1.2.3"
|