linted 23.4.2 → 23.5.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/package.json +15 -14
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "22.11.
|
2
|
+
"_schemaVersion": "22.11.2",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "23.
|
4
|
+
"version": "23.5.0",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"types": "dist/index.d.ts",
|
37
37
|
"config": {
|
38
38
|
"language": "ts",
|
39
|
-
"
|
39
|
+
"rewrite": "true",
|
40
40
|
"lint": "false"
|
41
41
|
},
|
42
42
|
"engineStrict": true,
|
@@ -62,8 +62,8 @@
|
|
62
62
|
}
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@eslinted/core": "14.
|
66
|
-
"@eslinted/defaults": "4.3.
|
65
|
+
"@eslinted/core": "14.2.0",
|
66
|
+
"@eslinted/defaults": "4.3.3",
|
67
67
|
"@html-eslint/eslint-plugin": "0.27.0",
|
68
68
|
"@html-eslint/parser": "0.27.0",
|
69
69
|
"@stylistic/eslint-plugin": "2.11.0",
|
@@ -93,9 +93,9 @@
|
|
93
93
|
},
|
94
94
|
"scripts": {
|
95
95
|
"build": "run-os",
|
96
|
-
"build:default": "npm run rebuild -- $npm_package_config_language $
|
97
|
-
"build:windows": "npm run rebuild -- %npm_package_config_language% %
|
98
|
-
"rebuild": "run-s \"clean:{1}:{
|
96
|
+
"build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_lint default",
|
97
|
+
"build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_lint% windows",
|
98
|
+
"rebuild": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
|
99
99
|
"clean:ts:default": "rm -rf dist",
|
100
100
|
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
|
101
101
|
"clean:svelte:default": "rm -rf build .svelte-kit",
|
@@ -103,18 +103,19 @@
|
|
103
103
|
"clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
|
104
104
|
"clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
|
105
105
|
"compile:ts:compile": "tsc",
|
106
|
+
"compile:ts:rewrite": "run-os",
|
107
|
+
"compile:ts:rewrite:default": "npm run compile:ts:rewrite+condition:$npm_package_config_rewrite",
|
108
|
+
"compile:ts:rewrite:windows": "npm run compile:ts:rewrite+condition:%npm_package_config_rewrite%",
|
109
|
+
"compile:ts:rewrite+condition:true": "ts-add-js-extension --dir=dist",
|
110
|
+
"compile:ts:rewrite+condition:false": "echo \"Skip rewrite TypeScript imports (fix=false)\"",
|
106
111
|
"compile:svelte:sync": "svelte-kit sync",
|
107
112
|
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
108
113
|
"compile:svelte:compile": "vite build",
|
109
|
-
"fix:true": "run-s \"fix:dist:{1}\" --",
|
110
|
-
"fix:false": "echo \"Fix skipped (fix=false)\"",
|
111
|
-
"fix:dist:ts": "ts-add-js-extension --dir=dist",
|
112
|
-
"fix:dist:svelte": "echo \"Fix skipped for Svelte (handled by SvelteKit)\"",
|
113
114
|
"li": "eslint --cache --fix",
|
114
115
|
"lint": "npm run build",
|
115
116
|
"lint:true": "run-os",
|
116
|
-
"lint:true:default": "run-
|
117
|
-
"lint:true:windows": "run-
|
117
|
+
"lint:true:default": "run-p lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
|
118
|
+
"lint:true:windows": "run-p lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
|
118
119
|
"lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
|
119
120
|
"lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
|
120
121
|
"lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
|