@eslinted/defaults 4.3.1 → 4.3.3
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/.markdownlint.jsonc +3 -3
- package/package.json +13 -12
package/.markdownlint.jsonc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
// v0.36.
|
|
3
|
-
// https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/Rules.md
|
|
2
|
+
// v0.36.2
|
|
3
|
+
// DOC: https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/Rules.md
|
|
4
4
|
// "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.36.1/schema/markdownlint-config-schema.json",
|
|
5
5
|
"heading-increment": true /* MD001 */,
|
|
6
6
|
"heading-style": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
} /* MD035 */,
|
|
74
74
|
"no-emphasis-as-heading": false /* MD036 */,
|
|
75
75
|
"no-space-in-emphasis": true /* MD037 */,
|
|
76
|
-
"no-space-in-code":
|
|
76
|
+
"no-space-in-code": false /* MD038 */,
|
|
77
77
|
"no-space-in-links": true /* MD039 */,
|
|
78
78
|
"fenced-code-language": {
|
|
79
79
|
"allowed_languages": [],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_schemaVersion": "22.11.
|
|
2
|
+
"_schemaVersion": "22.11.2",
|
|
3
3
|
"name": "@eslinted/defaults",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.3",
|
|
5
5
|
"description": "Default scopes for `linted`.",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"types": "dist/index.d.ts",
|
|
19
19
|
"config": {
|
|
20
20
|
"language": "ts",
|
|
21
|
-
"
|
|
21
|
+
"rewrite": "true",
|
|
22
22
|
"lint": "false"
|
|
23
23
|
},
|
|
24
24
|
"engineStrict": true,
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "run-os",
|
|
43
|
-
"build:default": "npm run rebuild -- $npm_package_config_language $
|
|
44
|
-
"build:windows": "npm run rebuild -- %npm_package_config_language% %
|
|
45
|
-
"rebuild": "run-s \"clean:{1}:{
|
|
43
|
+
"build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_lint default",
|
|
44
|
+
"build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_lint% windows",
|
|
45
|
+
"rebuild": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
|
|
46
46
|
"clean:ts:default": "rm -rf dist",
|
|
47
47
|
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
|
|
48
48
|
"clean:svelte:default": "rm -rf build .svelte-kit",
|
|
@@ -50,18 +50,19 @@
|
|
|
50
50
|
"clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
|
|
51
51
|
"clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
|
|
52
52
|
"compile:ts:compile": "tsc",
|
|
53
|
+
"compile:ts:rewrite": "run-os",
|
|
54
|
+
"compile:ts:rewrite:default": "npm run compile:ts:rewrite+condition:$npm_package_config_rewrite",
|
|
55
|
+
"compile:ts:rewrite:windows": "npm run compile:ts:rewrite+condition:%npm_package_config_rewrite%",
|
|
56
|
+
"compile:ts:rewrite+condition:true": "ts-add-js-extension --dir=dist",
|
|
57
|
+
"compile:ts:rewrite+condition:false": "echo \"Skip rewrite TypeScript imports (fix=false)\"",
|
|
53
58
|
"compile:svelte:sync": "svelte-kit sync",
|
|
54
59
|
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
|
55
60
|
"compile:svelte:compile": "vite build",
|
|
56
|
-
"fix:true": "run-s \"fix:dist:{1}\" --",
|
|
57
|
-
"fix:false": "echo \"Fix skipped (fix=false)\"",
|
|
58
|
-
"fix:dist:ts": "ts-add-js-extension --dir=dist",
|
|
59
|
-
"fix:dist:svelte": "echo \"Fix skipped for Svelte (handled by SvelteKit)\"",
|
|
60
61
|
"li": "eslint --cache --fix",
|
|
61
62
|
"lint": "npm run build",
|
|
62
63
|
"lint:true": "run-os",
|
|
63
|
-
"lint:true:default": "run-
|
|
64
|
-
"lint:true:windows": "run-
|
|
64
|
+
"lint:true:default": "run-p lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
|
|
65
|
+
"lint:true:windows": "run-p lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
|
|
65
66
|
"lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
|
|
66
67
|
"lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
|
|
67
68
|
"lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
|