linted 23.5.0 → 23.6.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 +28 -22
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "22.11.
|
2
|
+
"_schemaVersion": "22.11.3",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "23.
|
4
|
+
"version": "23.6.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",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"peerDependencies": {
|
48
48
|
"eslint": "~9.15.0",
|
49
49
|
"mocha": "^10.8.2",
|
50
|
-
"svelte": "^5.2.
|
50
|
+
"svelte": "^5.2.9",
|
51
51
|
"typescript": ">=5.7.2"
|
52
52
|
},
|
53
53
|
"peerDependenciesMeta": {
|
@@ -62,13 +62,13 @@
|
|
62
62
|
}
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@eslinted/core": "14.2.
|
66
|
-
"@eslinted/defaults": "4.3.
|
65
|
+
"@eslinted/core": "14.2.1",
|
66
|
+
"@eslinted/defaults": "4.3.4",
|
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",
|
70
|
-
"@typescript-eslint/eslint-plugin": "8.
|
71
|
-
"@typescript-eslint/parser": "8.
|
70
|
+
"@typescript-eslint/eslint-plugin": "8.16.0",
|
71
|
+
"@typescript-eslint/parser": "8.16.0",
|
72
72
|
"eslint-plugin-chai-expect": "3.1.0",
|
73
73
|
"eslint-plugin-chai-friendly": "1.0.1",
|
74
74
|
"eslint-plugin-jsonc": "2.18.2",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"eslint-plugin-svelte": "2.46.0",
|
77
77
|
"eslint-plugin-yml": "1.15.0",
|
78
78
|
"jsonc-eslint-parser": "2.4.0",
|
79
|
-
"svelte": "^5.2.
|
79
|
+
"svelte": "^5.2.9",
|
80
80
|
"svelte-eslint-parser": "0.43.0",
|
81
81
|
"yaml-eslint-parser": "1.2.3"
|
82
82
|
},
|
@@ -92,10 +92,16 @@
|
|
92
92
|
"typescript": "^5.7.2"
|
93
93
|
},
|
94
94
|
"scripts": {
|
95
|
+
"prebuild": "npm ci || run-s prebuild:reinstall:*",
|
96
|
+
"prebuild:reinstall:install": "npm i",
|
97
|
+
"prebuild:reinstall:add": "git add *",
|
98
|
+
"prebuild:reinstall:commit": "run-os",
|
99
|
+
"prebuild:reinstall:commit:default": "git commit -m \"reinstall ${npm_package_version}\"",
|
100
|
+
"prebuild:reinstall:commit:windows": "git commit -m \"reinstall %npm_package_version%\"",
|
95
101
|
"build": "run-os",
|
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}\" --",
|
102
|
+
"build:default": "npm run rebuild+lint+test -- $npm_package_config_language $npm_package_config_lint default",
|
103
|
+
"build:windows": "npm run rebuild+lint+test -- %npm_package_config_language% %npm_package_config_lint% windows",
|
104
|
+
"rebuild+lint+test": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
|
99
105
|
"clean:ts:default": "rm -rf dist",
|
100
106
|
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
|
101
107
|
"clean:svelte:default": "rm -rf build .svelte-kit",
|
@@ -111,26 +117,26 @@
|
|
111
117
|
"compile:svelte:sync": "svelte-kit sync",
|
112
118
|
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
113
119
|
"compile:svelte:compile": "vite build",
|
114
|
-
"li": "eslint --cache --fix",
|
115
120
|
"lint": "npm run build",
|
116
121
|
"lint:true": "run-os",
|
117
|
-
"lint:true:default": "run-
|
118
|
-
"lint:true:windows": "run-
|
122
|
+
"lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
|
123
|
+
"lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
|
119
124
|
"lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
|
120
|
-
"lint:scope:global:configs": "npm run
|
121
|
-
"lint:scope:global:code": "npm run
|
122
|
-
"lint:scope:ts": "
|
123
|
-
"lint:scope:svelte": "npm run
|
125
|
+
"lint:scope:global:configs": "npm run linter -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
|
126
|
+
"lint:scope:global:code": "npm run linter -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
|
127
|
+
"lint:scope:ts": "echo \"Linting `ts`\"",
|
128
|
+
"lint:scope:svelte": "npm run linter -- {src,tests,static}/**/*.svelte",
|
129
|
+
"linter": "eslint --cache --fix",
|
124
130
|
"postbuild": "echo \"Build (+lint) complete.\"",
|
125
131
|
"pretest": "npm run build",
|
126
132
|
"test": "",
|
127
133
|
"test:ts": "mocha",
|
128
134
|
"test:svelte": "",
|
129
135
|
"start": "run-os",
|
130
|
-
"start:default": "npm run
|
131
|
-
"start:windows": "npm run
|
132
|
-
"
|
133
|
-
"
|
136
|
+
"start:default": "npm run start+os:$npm_package_config_language",
|
137
|
+
"start:windows": "npm run start+os:%npm_package_config_language%",
|
138
|
+
"start+os:ts": "node .",
|
139
|
+
"start+os:svelte": "vite preview",
|
134
140
|
"prestart": "npm test",
|
135
141
|
"prepublishOnly": "npm test",
|
136
142
|
"postpublish": "run-os",
|