@vinicunca/eslint-config 2.10.0 → 2.11.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 +1 -1
- package/dist/index.d.cts +302 -72
- package/dist/index.d.ts +302 -72
- package/dist/index.js +1 -1
- package/package.json +19 -24
package/dist/index.js
CHANGED
|
@@ -259,7 +259,6 @@ async function astro(options = {}) {
|
|
|
259
259
|
...stylistic2 ? {
|
|
260
260
|
"style/indent": OFF,
|
|
261
261
|
"style/jsx-closing-tag-location": OFF,
|
|
262
|
-
"style/jsx-indent": OFF,
|
|
263
262
|
"style/jsx-one-expression-per-line": OFF,
|
|
264
263
|
"style/no-multiple-empty-lines": OFF
|
|
265
264
|
} : {},
|
|
@@ -347,6 +346,7 @@ async function stylistic(options = {}) {
|
|
|
347
346
|
},
|
|
348
347
|
rules: {
|
|
349
348
|
...config.rules,
|
|
349
|
+
"antfu/consistent-chaining": ERROR,
|
|
350
350
|
"antfu/consistent-list-newline": ERROR,
|
|
351
351
|
"antfu/top-level-function": ERROR,
|
|
352
352
|
"curly": [ERROR, "all"],
|
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.11.0",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -55,19 +55,18 @@
|
|
|
55
55
|
"node": ">=20.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
58
|
+
"@eslint-react/eslint-plugin": "^1.13.0",
|
|
59
59
|
"@prettier/plugin-xml": "^3.4.1",
|
|
60
|
-
"@unocss/eslint-plugin": ">=0.50.0",
|
|
61
60
|
"astro-eslint-parser": "^1.0.2",
|
|
62
|
-
"eslint": "^9.
|
|
63
|
-
"eslint-plugin-astro": "^1.2.
|
|
64
|
-
"eslint-plugin-react-hooks": "^4.6.
|
|
65
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
66
|
-
"eslint-plugin-solid": "^0.
|
|
67
|
-
"eslint-plugin-svelte": ">=2.
|
|
68
|
-
"prettier-plugin-astro": "^0.
|
|
61
|
+
"eslint": "^9.10.0",
|
|
62
|
+
"eslint-plugin-astro": "^1.2.3",
|
|
63
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.4.11",
|
|
65
|
+
"eslint-plugin-solid": "^0.14.3",
|
|
66
|
+
"eslint-plugin-svelte": ">=2.43.0",
|
|
67
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
69
68
|
"prettier-plugin-slidev": "^1.0.5",
|
|
70
|
-
"svelte-eslint-parser": ">=0.
|
|
69
|
+
"svelte-eslint-parser": ">=0.41.0"
|
|
71
70
|
},
|
|
72
71
|
"peerDependenciesMeta": {
|
|
73
72
|
"@eslint-react/eslint-plugin": {
|
|
@@ -76,9 +75,6 @@
|
|
|
76
75
|
"@prettier/plugin-xml": {
|
|
77
76
|
"optional": true
|
|
78
77
|
},
|
|
79
|
-
"@unocss/eslint-plugin": {
|
|
80
|
-
"optional": true
|
|
81
|
-
},
|
|
82
78
|
"astro-eslint-parser": {
|
|
83
79
|
"optional": true
|
|
84
80
|
},
|
|
@@ -111,31 +107,30 @@
|
|
|
111
107
|
"@antfu/install-pkg": "^0.4.1",
|
|
112
108
|
"@clack/prompts": "^0.7.0",
|
|
113
109
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
114
|
-
"@
|
|
115
|
-
"@
|
|
116
|
-
"@typescript-eslint/
|
|
117
|
-
"@typescript-eslint/parser": "^8.3.0",
|
|
110
|
+
"@stylistic/eslint-plugin": "^2.7.2",
|
|
111
|
+
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
|
112
|
+
"@typescript-eslint/parser": "^8.4.0",
|
|
118
113
|
"@unocss/eslint-plugin": "^0.62.3",
|
|
119
114
|
"@vitest/eslint-plugin": "^1.1.0",
|
|
120
115
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
121
|
-
"eslint-flat-config-utils": "^0.
|
|
116
|
+
"eslint-flat-config-utils": "^0.4.0",
|
|
122
117
|
"eslint-merge-processors": "^0.1.0",
|
|
123
|
-
"eslint-plugin-antfu": "^2.
|
|
124
|
-
"eslint-plugin-command": "^0.2.
|
|
118
|
+
"eslint-plugin-antfu": "^2.5.0",
|
|
119
|
+
"eslint-plugin-command": "^0.2.4",
|
|
125
120
|
"eslint-plugin-format": "^0.1.2",
|
|
126
|
-
"eslint-plugin-import-x": "^4.
|
|
121
|
+
"eslint-plugin-import-x": "^4.2.1",
|
|
127
122
|
"eslint-plugin-jsdoc": "^50.2.2",
|
|
128
123
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
129
124
|
"eslint-plugin-markdown": "^5.1.0",
|
|
130
125
|
"eslint-plugin-n": "^17.10.2",
|
|
131
126
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
132
|
-
"eslint-plugin-perfectionist": "^3.
|
|
127
|
+
"eslint-plugin-perfectionist": "^3.5.0",
|
|
133
128
|
"eslint-plugin-regexp": "^2.6.0",
|
|
134
129
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
135
130
|
"eslint-plugin-toml": "^0.11.1",
|
|
136
131
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
137
132
|
"eslint-plugin-unused-imports": "^4.1.3",
|
|
138
|
-
"eslint-plugin-vue": "^9.
|
|
133
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
139
134
|
"eslint-plugin-yml": "^1.14.0",
|
|
140
135
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
141
136
|
"globals": "^15.9.0",
|