@santi020k/eslint-config-lite 2.0.0-beta.3 → 2.0.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/CHANGELOG.md +22 -0
- package/dist/index.js +11 -2
- package/package.json +43 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @santi020k/eslint-config-lite
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`dfba51d`](https://github.com/santi020k/eslint-config-basic/commit/dfba51dca7387a71a263af206eb86fd8df15f387) Thanks [@santi020k](https://github.com/santi020k)! - Improve config migration handling and enhance TypeScript options detection
|
|
8
|
+
|
|
9
|
+
- [#87](https://github.com/santi020k/eslint-config-basic/pull/87) [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc) Thanks [@santi020k](https://github.com/santi020k)! - Add `@santi020k/eslint-config-lite` as an optional composer package for projects that want to install framework and integration config packages manually. The full `@santi020k/eslint-config-basic` package remains the recommended default install.
|
|
10
|
+
|
|
11
|
+
Expose integration composition helpers from `@santi020k/eslint-config-integrations` so the lite package can lazy-load integration configs only when selected.
|
|
12
|
+
|
|
13
|
+
Teach `basic-eslint doctor` to recognize lite configs and warn when detected frameworks or integrations are missing their manually installed config packages.
|
|
14
|
+
|
|
15
|
+
Add `basic-eslint doctor --lite-install` to print the detected package-manager install command for switching a project to the lite package, including framework config packages, integrations, ESLint, and TypeScript when needed.
|
|
16
|
+
|
|
17
|
+
Document package-choice metrics, a Basic-to-Lite migration recipe, and a lite-specific `Preset.All` warning.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`dfba51d`](https://github.com/santi020k/eslint-config-basic/commit/dfba51dca7387a71a263af206eb86fd8df15f387), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`59158db`](https://github.com/santi020k/eslint-config-basic/commit/59158dbc0b48de041062f4d0c75b1f7e3a1e779c), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc), [`59158db`](https://github.com/santi020k/eslint-config-basic/commit/59158dbc0b48de041062f4d0c75b1f7e3a1e779c), [`2ee503b`](https://github.com/santi020k/eslint-config-basic/commit/2ee503be55f5484624ee2e873fe59f348709eadc)]:
|
|
22
|
+
- @santi020k/eslint-config-core@2.0.0
|
|
23
|
+
- @santi020k/eslint-config-typescript@2.0.0
|
|
24
|
+
|
|
3
25
|
## 2.0.0-beta.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
createCoreConfig,
|
|
8
8
|
DEFAULT_IGNORES,
|
|
9
9
|
detectProjectOptions,
|
|
10
|
+
Extension,
|
|
10
11
|
findTailwindEntryPoint,
|
|
11
12
|
GENERATED_CODE_IGNORES,
|
|
12
13
|
getStrictMode,
|
|
@@ -63,7 +64,7 @@ import {
|
|
|
63
64
|
createCoreConfig as createCoreConfig2,
|
|
64
65
|
createImportGroups,
|
|
65
66
|
detectProjectOptions as detectProjectOptions2,
|
|
66
|
-
Extension,
|
|
67
|
+
Extension as Extension2,
|
|
67
68
|
Format,
|
|
68
69
|
getGlobalsForRuntime,
|
|
69
70
|
gitignore as gitignore2,
|
|
@@ -259,6 +260,14 @@ const buildLiteEslintConfigs = async (params) => {
|
|
|
259
260
|
rules: { "@next/next/no-html-link-for-pages": "off" }
|
|
260
261
|
}] : [],
|
|
261
262
|
...await getIntegrationConfigs(uniqueLibraries, uniqueTools, uniqueTesting, uniqueFormats, uniqueExtensions),
|
|
263
|
+
{
|
|
264
|
+
files: ["**/scripts/**/*.{js,mjs,cjs,ts,mts,cts}"],
|
|
265
|
+
name: "eslint-config-lite/scripts-overrides",
|
|
266
|
+
rules: {
|
|
267
|
+
"n/no-unpublished-import": "off",
|
|
268
|
+
...uniqueExtensions.includes(Extension.Security) ? { "security/detect-non-literal-fs-filename": "off" } : {}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
262
271
|
...tailwindSettingsConfig ? [tailwindSettingsConfig] : [],
|
|
263
272
|
...await getPrettierConfig(uniqueTools)
|
|
264
273
|
];
|
|
@@ -416,7 +425,7 @@ const eslintConfig = async (options) => {
|
|
|
416
425
|
};
|
|
417
426
|
const defineConfig = eslintConfig;
|
|
418
427
|
export {
|
|
419
|
-
Extension,
|
|
428
|
+
Extension2 as Extension,
|
|
420
429
|
Format,
|
|
421
430
|
Library2 as Library,
|
|
422
431
|
NextMode2 as NextMode,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@santi020k/eslint-config-lite",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,58 +23,58 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@typescript-eslint/utils": "^8.61.1",
|
|
26
|
-
"@santi020k/eslint-config-core": "^2.0.0
|
|
27
|
-
"@santi020k/eslint-config-typescript": "^2.0.0
|
|
26
|
+
"@santi020k/eslint-config-core": "^2.0.0",
|
|
27
|
+
"@santi020k/eslint-config-typescript": "^2.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^25.9.3",
|
|
31
31
|
"publint": "^0.3.21",
|
|
32
32
|
"tsup": "^8.5.1",
|
|
33
33
|
"typescript": "^6.0.3",
|
|
34
|
-
"@santi020k/eslint-config-angular": "^2.0.0
|
|
35
|
-
"@santi020k/eslint-config-astro": "^2.0.0
|
|
36
|
-
"@santi020k/eslint-config-expo": "^2.0.0
|
|
37
|
-
"@santi020k/eslint-config-hono": "^2.0.0
|
|
38
|
-
"@santi020k/eslint-config-integrations": "^2.0.0
|
|
39
|
-
"@santi020k/eslint-config-lit": "^2.0.0
|
|
40
|
-
"@santi020k/eslint-config-nest": "^2.0.0
|
|
41
|
-
"@santi020k/eslint-config-next": "^2.0.0
|
|
42
|
-
"@santi020k/eslint-config-nuxt": "^2.0.0
|
|
43
|
-
"@santi020k/eslint-config-preact": "^2.0.0
|
|
44
|
-
"@santi020k/eslint-config-qwik": "^2.0.0
|
|
45
|
-
"@santi020k/eslint-config-react": "^2.0.0
|
|
46
|
-
"@santi020k/eslint-config-react-router": "^2.0.0
|
|
47
|
-
"@santi020k/eslint-config-remix": "^2.0.0
|
|
48
|
-
"@santi020k/eslint-config-slidev": "^2.0.0
|
|
49
|
-
"@santi020k/eslint-config-solid": "^2.0.0
|
|
50
|
-
"@santi020k/eslint-config-svelte": "^2.0.0
|
|
51
|
-
"@santi020k/eslint-config-tanstack-start": "^2.0.0
|
|
52
|
-
"@santi020k/eslint-config-vite": "^2.0.0
|
|
53
|
-
"@santi020k/eslint-config-vue": "^2.0.0
|
|
34
|
+
"@santi020k/eslint-config-angular": "^2.0.0",
|
|
35
|
+
"@santi020k/eslint-config-astro": "^2.0.0",
|
|
36
|
+
"@santi020k/eslint-config-expo": "^2.0.0",
|
|
37
|
+
"@santi020k/eslint-config-hono": "^2.0.0",
|
|
38
|
+
"@santi020k/eslint-config-integrations": "^2.0.0",
|
|
39
|
+
"@santi020k/eslint-config-lit": "^2.0.0",
|
|
40
|
+
"@santi020k/eslint-config-nest": "^2.0.0",
|
|
41
|
+
"@santi020k/eslint-config-next": "^2.0.0",
|
|
42
|
+
"@santi020k/eslint-config-nuxt": "^2.0.0",
|
|
43
|
+
"@santi020k/eslint-config-preact": "^2.0.0",
|
|
44
|
+
"@santi020k/eslint-config-qwik": "^2.0.0",
|
|
45
|
+
"@santi020k/eslint-config-react": "^2.0.0",
|
|
46
|
+
"@santi020k/eslint-config-react-router": "^2.0.0",
|
|
47
|
+
"@santi020k/eslint-config-remix": "^2.0.0",
|
|
48
|
+
"@santi020k/eslint-config-slidev": "^2.0.0",
|
|
49
|
+
"@santi020k/eslint-config-solid": "^2.0.0",
|
|
50
|
+
"@santi020k/eslint-config-svelte": "^2.0.0",
|
|
51
|
+
"@santi020k/eslint-config-tanstack-start": "^2.0.0",
|
|
52
|
+
"@santi020k/eslint-config-vite": "^2.0.0",
|
|
53
|
+
"@santi020k/eslint-config-vue": "^2.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"eslint": "^10.0.0",
|
|
57
57
|
"typescript": ">=5.0.0",
|
|
58
|
-
"@santi020k/eslint-config-
|
|
59
|
-
"@santi020k/eslint-config-
|
|
60
|
-
"@santi020k/eslint-config-
|
|
61
|
-
"@santi020k/eslint-config-
|
|
62
|
-
"@santi020k/eslint-config-
|
|
63
|
-
"@santi020k/eslint-config-lit": "^2.0.0
|
|
64
|
-
"@santi020k/eslint-config-
|
|
65
|
-
"@santi020k/eslint-config-
|
|
66
|
-
"@santi020k/eslint-config-
|
|
67
|
-
"@santi020k/eslint-config-
|
|
68
|
-
"@santi020k/eslint-config-
|
|
69
|
-
"@santi020k/eslint-config-
|
|
70
|
-
"@santi020k/eslint-config-react-router": "^2.0.0
|
|
71
|
-
"@santi020k/eslint-config-remix": "^2.0.0
|
|
72
|
-
"@santi020k/eslint-config-slidev": "^2.0.0
|
|
73
|
-
"@santi020k/eslint-config-solid": "^2.0.0
|
|
74
|
-
"@santi020k/eslint-config-svelte": "^2.0.0
|
|
75
|
-
"@santi020k/eslint-config-tanstack-start": "^2.0.0
|
|
76
|
-
"@santi020k/eslint-config-vite": "^2.0.0
|
|
77
|
-
"@santi020k/eslint-config-vue": "^2.0.0
|
|
58
|
+
"@santi020k/eslint-config-astro": "^2.0.0",
|
|
59
|
+
"@santi020k/eslint-config-hono": "^2.0.0",
|
|
60
|
+
"@santi020k/eslint-config-integrations": "^2.0.0",
|
|
61
|
+
"@santi020k/eslint-config-expo": "^2.0.0",
|
|
62
|
+
"@santi020k/eslint-config-nest": "^2.0.0",
|
|
63
|
+
"@santi020k/eslint-config-lit": "^2.0.0",
|
|
64
|
+
"@santi020k/eslint-config-next": "^2.0.0",
|
|
65
|
+
"@santi020k/eslint-config-nuxt": "^2.0.0",
|
|
66
|
+
"@santi020k/eslint-config-preact": "^2.0.0",
|
|
67
|
+
"@santi020k/eslint-config-qwik": "^2.0.0",
|
|
68
|
+
"@santi020k/eslint-config-react": "^2.0.0",
|
|
69
|
+
"@santi020k/eslint-config-angular": "^2.0.0",
|
|
70
|
+
"@santi020k/eslint-config-react-router": "^2.0.0",
|
|
71
|
+
"@santi020k/eslint-config-remix": "^2.0.0",
|
|
72
|
+
"@santi020k/eslint-config-slidev": "^2.0.0",
|
|
73
|
+
"@santi020k/eslint-config-solid": "^2.0.0",
|
|
74
|
+
"@santi020k/eslint-config-svelte": "^2.0.0",
|
|
75
|
+
"@santi020k/eslint-config-tanstack-start": "^2.0.0",
|
|
76
|
+
"@santi020k/eslint-config-vite": "^2.0.0",
|
|
77
|
+
"@santi020k/eslint-config-vue": "^2.0.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"@santi020k/eslint-config-angular": {
|