@vinicunca/eslint-config 2.12.0 → 2.12.2
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 -4
- package/dist/index.d.cts +113 -51
- package/dist/index.d.ts +113 -51
- package/dist/index.js +5 -3
- package/package.json +17 -17
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
1
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.6/node_modules/@vinicunca/perkakas/dist/chunk-HLL46USD.js
|
|
2
2
|
function r(e3) {
|
|
3
3
|
if (typeof e3 != "object" || e3 === null) return false;
|
|
4
4
|
let o = Object.getPrototypeOf(e3);
|
|
5
5
|
return o === null || o === Object.prototype;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
8
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.6/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
9
9
|
function e(o) {
|
|
10
10
|
return typeof o == "boolean";
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
13
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.6/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
|
|
14
14
|
function e2(r2) {
|
|
15
15
|
return typeof r2 == "number" && !Number.isNaN(r2);
|
|
16
16
|
}
|
|
@@ -1816,6 +1816,7 @@ async function svelte(options = {}) {
|
|
|
1816
1816
|
// superseded by svelte/no-trailing-spaces
|
|
1817
1817
|
"svelte/derived-has-same-inputs-outputs": ERROR,
|
|
1818
1818
|
"svelte/html-closing-bracket-spacing": ERROR,
|
|
1819
|
+
// quotes only supports single and double quotes but in options we have backtick as well
|
|
1819
1820
|
"svelte/html-quotes": [ERROR, { prefer: quotes }],
|
|
1820
1821
|
"svelte/indent": [ERROR, { alignAttributesVertically: true, indent }],
|
|
1821
1822
|
"svelte/mustache-spacing": ERROR,
|
|
@@ -2403,6 +2404,7 @@ async function yaml(options = {}) {
|
|
|
2403
2404
|
"yaml/indent": [ERROR, indent === "tab" ? 2 : indent],
|
|
2404
2405
|
"yaml/key-spacing": ERROR,
|
|
2405
2406
|
"yaml/no-tab-indent": ERROR,
|
|
2407
|
+
// quotes only supports single and double quotes but in options we have backtick as well
|
|
2406
2408
|
"yaml/quotes": [ERROR, { avoidEscape: false, prefer: quotes }],
|
|
2407
2409
|
"yaml/spaced-comment": ERROR
|
|
2408
2410
|
} : {},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.12.
|
|
4
|
+
"version": "2.12.2",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -55,18 +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.15.2",
|
|
59
59
|
"@prettier/plugin-xml": "^3.4.1",
|
|
60
60
|
"astro-eslint-parser": "^1.0.3",
|
|
61
|
-
"eslint": "^9.
|
|
62
|
-
"eslint-plugin-astro": "^1.
|
|
63
|
-
"eslint-plugin-react-hooks": "^
|
|
64
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
61
|
+
"eslint": "^9.14.0",
|
|
62
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
63
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
65
65
|
"eslint-plugin-solid": "^0.14.3",
|
|
66
|
-
"eslint-plugin-svelte": ">=2.
|
|
66
|
+
"eslint-plugin-svelte": ">=2.46.0",
|
|
67
67
|
"prettier-plugin-astro": "^0.14.1",
|
|
68
68
|
"prettier-plugin-slidev": "^1.0.5",
|
|
69
|
-
"svelte-eslint-parser": ">=0.
|
|
69
|
+
"svelte-eslint-parser": ">=0.43.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"@eslint-react/eslint-plugin": {
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
"@clack/prompts": "^0.7.0",
|
|
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.
|
|
111
|
+
"@stylistic/eslint-plugin": "^2.10.1",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
113
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
114
|
+
"@unocss/eslint-plugin": "^0.64.0",
|
|
115
115
|
"@vitest/eslint-plugin": "^1.1.7",
|
|
116
116
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
117
117
|
"eslint-flat-config-utils": "^0.4.0",
|
|
@@ -119,10 +119,10 @@
|
|
|
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.
|
|
122
|
+
"eslint-plugin-import-x": "^4.4.0",
|
|
123
123
|
"eslint-plugin-jsdoc": "^50.4.3",
|
|
124
|
-
"eslint-plugin-jsonc": "^2.
|
|
125
|
-
"eslint-plugin-n": "^17.
|
|
124
|
+
"eslint-plugin-jsonc": "^2.17.0",
|
|
125
|
+
"eslint-plugin-n": "^17.13.1",
|
|
126
126
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
127
127
|
"eslint-plugin-perfectionist": "^3.9.1",
|
|
128
128
|
"eslint-plugin-regexp": "^2.6.0",
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
132
132
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
133
133
|
"eslint-plugin-vue": "^9.30.0",
|
|
134
|
-
"eslint-plugin-yml": "^1.
|
|
134
|
+
"eslint-plugin-yml": "^1.15.0",
|
|
135
135
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
136
|
-
"globals": "^15.
|
|
136
|
+
"globals": "^15.12.0",
|
|
137
137
|
"jsonc-eslint-parser": "^2.4.0",
|
|
138
138
|
"local-pkg": "^0.5.0",
|
|
139
139
|
"toml-eslint-parser": "^0.10.0",
|