@luxass/eslint-config 4.16.0 → 4.17.1
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 +35 -0
- package/dist/index.d.cts +318 -122
- package/dist/index.d.ts +318 -122
- package/dist/index.js +35 -0
- package/package.json +26 -36
package/dist/index.js
CHANGED
|
@@ -2291,6 +2291,41 @@ async function yaml(options = {}) {
|
|
|
2291
2291
|
} : {},
|
|
2292
2292
|
...overrides
|
|
2293
2293
|
}
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
files: ["pnpm-workspace.yaml"],
|
|
2297
|
+
name: "luxass/yaml/pnpm-workspace",
|
|
2298
|
+
rules: {
|
|
2299
|
+
"yaml/sort-keys": [
|
|
2300
|
+
"error",
|
|
2301
|
+
{
|
|
2302
|
+
order: [
|
|
2303
|
+
"packages",
|
|
2304
|
+
"overrides",
|
|
2305
|
+
"patchedDependencies",
|
|
2306
|
+
"hoistPattern",
|
|
2307
|
+
"catalog",
|
|
2308
|
+
"catalogs",
|
|
2309
|
+
"allowedDeprecatedVersions",
|
|
2310
|
+
"allowNonAppliedPatches",
|
|
2311
|
+
"configDependencies",
|
|
2312
|
+
"ignoredBuiltDependencies",
|
|
2313
|
+
"ignoredOptionalDependencies",
|
|
2314
|
+
"neverBuiltDependencies",
|
|
2315
|
+
"onlyBuiltDependencies",
|
|
2316
|
+
"onlyBuiltDependenciesFile",
|
|
2317
|
+
"packageExtensions",
|
|
2318
|
+
"peerDependencyRules",
|
|
2319
|
+
"supportedArchitectures"
|
|
2320
|
+
],
|
|
2321
|
+
pathPattern: "^$"
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
order: { type: "asc" },
|
|
2325
|
+
pathPattern: ".*"
|
|
2326
|
+
}
|
|
2327
|
+
]
|
|
2328
|
+
}
|
|
2294
2329
|
}
|
|
2295
2330
|
];
|
|
2296
2331
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxass/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.1",
|
|
4
4
|
"description": "ESLint config for @luxass",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -8,12 +8,14 @@
|
|
|
8
8
|
"email": "lucasnrgaard@gmail.com",
|
|
9
9
|
"url": "https://luxass.dev"
|
|
10
10
|
},
|
|
11
|
-
"packageManager": "pnpm@10.6.1",
|
|
12
11
|
"license": "MIT",
|
|
13
12
|
"repository": {
|
|
14
13
|
"type": "git",
|
|
15
14
|
"url": "git+https://github.com/luxass/eslint-config.git"
|
|
16
15
|
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/luxass/eslint-config/issues"
|
|
18
|
+
},
|
|
17
19
|
"keywords": [
|
|
18
20
|
"eslint",
|
|
19
21
|
"eslintconfig",
|
|
@@ -36,17 +38,6 @@
|
|
|
36
38
|
"engines": {
|
|
37
39
|
"node": ">=20"
|
|
38
40
|
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "pnpm typegen && tsup --format esm,cjs --clean --dts",
|
|
41
|
-
"stub": "tsup --format esm",
|
|
42
|
-
"dev": "pnpm eslint-config-inspector --config eslint.config.ts",
|
|
43
|
-
"build:inspector": "pnpm build && pnpm eslint-config-inspector build",
|
|
44
|
-
"test": "vitest --run",
|
|
45
|
-
"typegen": "tsx ./scripts/typegen.ts",
|
|
46
|
-
"test:watch": "vitest",
|
|
47
|
-
"lint": "eslint .",
|
|
48
|
-
"typecheck": "tsc --noEmit"
|
|
49
|
-
},
|
|
50
41
|
"peerDependencies": {
|
|
51
42
|
"@eslint-react/eslint-plugin": "^1.19.0",
|
|
52
43
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
@@ -94,18 +85,18 @@
|
|
|
94
85
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
95
86
|
"@eslint/markdown": "^6.3.0",
|
|
96
87
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
97
|
-
"@typescript-eslint/eslint-plugin": "^8.26.
|
|
98
|
-
"@typescript-eslint/parser": "^8.26.
|
|
99
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
89
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
90
|
+
"@vitest/eslint-plugin": "^1.1.37",
|
|
100
91
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
101
92
|
"eslint-flat-config-utils": "^2.0.1",
|
|
102
93
|
"eslint-merge-processors": "^2.0.0",
|
|
103
|
-
"eslint-plugin-antfu": "^3.1.
|
|
94
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
104
95
|
"eslint-plugin-import-x": "^4.6.1",
|
|
105
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
96
|
+
"eslint-plugin-jsdoc": "^50.6.6",
|
|
106
97
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
107
98
|
"eslint-plugin-n": "^17.16.2",
|
|
108
|
-
"eslint-plugin-perfectionist": "^4.
|
|
99
|
+
"eslint-plugin-perfectionist": "^4.10.1",
|
|
109
100
|
"eslint-plugin-regexp": "^2.7.0",
|
|
110
101
|
"eslint-plugin-toml": "^0.12.0",
|
|
111
102
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
@@ -122,15 +113,14 @@
|
|
|
122
113
|
"yaml-eslint-parser": "^1.3.0"
|
|
123
114
|
},
|
|
124
115
|
"devDependencies": {
|
|
125
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
116
|
+
"@eslint-react/eslint-plugin": "^1.32.0",
|
|
126
117
|
"@eslint/config-inspector": "^1.0.2",
|
|
127
118
|
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
128
|
-
"@types/
|
|
129
|
-
"@
|
|
130
|
-
"@
|
|
131
|
-
"@unocss/eslint-plugin": "^66.0.0",
|
|
119
|
+
"@types/node": "^22.13.10",
|
|
120
|
+
"@typescript-eslint/rule-tester": "^8.26.1",
|
|
121
|
+
"@unocss/eslint-plugin": "^66.1.0-beta.3",
|
|
132
122
|
"astro-eslint-parser": "^1.2.1",
|
|
133
|
-
"eslint": "^9.
|
|
123
|
+
"eslint": "^9.22.0",
|
|
134
124
|
"eslint-plugin-astro": "^1.3.1",
|
|
135
125
|
"eslint-plugin-format": "^1.0.1",
|
|
136
126
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
@@ -147,15 +137,15 @@
|
|
|
147
137
|
"vitest": "^3.0.8",
|
|
148
138
|
"vue": "^3.5.13"
|
|
149
139
|
},
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
140
|
+
"scripts": {
|
|
141
|
+
"build": "pnpm typegen && tsup --format esm,cjs --clean --dts",
|
|
142
|
+
"stub": "tsup --format esm",
|
|
143
|
+
"dev": "pnpm eslint-config-inspector --config eslint.config.ts",
|
|
144
|
+
"build:inspector": "pnpm build && pnpm eslint-config-inspector build",
|
|
145
|
+
"test": "vitest --run",
|
|
146
|
+
"typegen": "tsx ./scripts/typegen.ts",
|
|
147
|
+
"test:watch": "vitest",
|
|
148
|
+
"lint": "eslint .",
|
|
149
|
+
"typecheck": "tsc --noEmit"
|
|
160
150
|
}
|
|
161
|
-
}
|
|
151
|
+
}
|