eslint-plugin-markdown-preferences 0.40.2 → 0.41.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/lib/chunk-pbuEa-1d.js +13 -0
- package/lib/index.d.ts +8 -9
- package/lib/index.js +280 -323
- package/package.json +28 -29
- package/lib/chunk-BAz01cYq.js +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-markdown-preferences",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "ESLint plugin that enforces our markdown preferences",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -16,12 +16,11 @@
|
|
|
16
16
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "npm run build:
|
|
20
|
-
"build:meta": "npm run ts -- ./tools/update-meta.ts",
|
|
19
|
+
"build": "npm run build:tsdown",
|
|
21
20
|
"build:tsdown": "tsdown",
|
|
22
|
-
"lint": "eslint .",
|
|
21
|
+
"lint": "eslint . --config=./eslint.config.mjs --no-config-lookup",
|
|
23
22
|
"tsc": "tsc --project tsconfig.build.json",
|
|
24
|
-
"eslint-fix": "eslint . --fix",
|
|
23
|
+
"eslint-fix": "eslint . --fix --config=./eslint.config.mjs --no-config-lookup",
|
|
25
24
|
"markdownlint": "npx -y markdownlint-cli2 .",
|
|
26
25
|
"test": "npm run mocha -- \"tests/src/**/*.ts\" --reporter=dot --timeout=60000",
|
|
27
26
|
"test:debug": "node --experimental-strip-types --experimental-transform-types ./node_modules/mocha/bin/mocha.js \"tests/src/**/*.ts\" --reporter=dot --timeout=60000",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
"new": "npm run ts -- ./tools/new-rule.ts",
|
|
33
32
|
"docs:watch": "vitepress dev docs --open",
|
|
34
33
|
"docs:build": "vitepress build docs",
|
|
35
|
-
"ts": "node --import
|
|
34
|
+
"ts": "node --import @oxc-node/core/register",
|
|
36
35
|
"mocha": "npm run ts -- ./node_modules/mocha/bin/mocha.js",
|
|
37
36
|
"generate:version": "env-cmd -e version -- npm run update && npm run lint -- --fix",
|
|
38
37
|
"changeset:version": "env-cmd -e version -- changeset version && npm run generate:version && git add --all",
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
},
|
|
59
58
|
"homepage": "https://ota-meshi.github.io/eslint-plugin-markdown-preferences/",
|
|
60
59
|
"peerDependencies": {
|
|
61
|
-
"@eslint/markdown": "^7.4.0",
|
|
60
|
+
"@eslint/markdown": "^7.4.0 || ^8.0.0",
|
|
62
61
|
"eslint": ">=9.0.0"
|
|
63
62
|
},
|
|
64
63
|
"dependencies": {
|
|
@@ -77,15 +76,16 @@
|
|
|
77
76
|
"string-width": "^8.0.0"
|
|
78
77
|
},
|
|
79
78
|
"devDependencies": {
|
|
80
|
-
"@changesets/changelog-github": "^0.
|
|
79
|
+
"@changesets/changelog-github": "^0.6.0",
|
|
81
80
|
"@changesets/cli": "^2.28.1",
|
|
82
81
|
"@changesets/get-release-plan": "^4.0.8",
|
|
83
|
-
"@eslint/core": "^1.
|
|
84
|
-
"@eslint/markdown": "^
|
|
85
|
-
"@ota-meshi/eslint-plugin": "^0.
|
|
86
|
-
"@
|
|
82
|
+
"@eslint/core": "^1.1.1",
|
|
83
|
+
"@eslint/markdown": "^8.0.1",
|
|
84
|
+
"@ota-meshi/eslint-plugin": "^0.20.0",
|
|
85
|
+
"@oxc-node/core": "^0.1.0",
|
|
86
|
+
"@shikijs/vitepress-twoslash": "^4.0.0",
|
|
87
87
|
"@types/eslint": "^9.6.1",
|
|
88
|
-
"@types/eslint-scope": "^
|
|
88
|
+
"@types/eslint-scope": "^9.0.0",
|
|
89
89
|
"@types/eslint-utils": "^3.0.5",
|
|
90
90
|
"@types/estree": "^1.0.6",
|
|
91
91
|
"@types/json-schema": "^7.0.15",
|
|
@@ -94,46 +94,45 @@
|
|
|
94
94
|
"@types/node": "^24.0.0",
|
|
95
95
|
"@types/semver": "^7.5.8",
|
|
96
96
|
"assert": "^2.1.0",
|
|
97
|
-
"c8": "^
|
|
97
|
+
"c8": "^11.0.0",
|
|
98
98
|
"env-cmd": "^11.0.0",
|
|
99
|
-
"eslint": "^
|
|
99
|
+
"eslint": "^10.1.0",
|
|
100
100
|
"eslint-compat-utils": "^0.6.4",
|
|
101
101
|
"eslint-config-prettier": "^10.1.1",
|
|
102
102
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
103
103
|
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
104
|
-
"eslint-plugin-jsdoc": "^
|
|
105
|
-
"eslint-plugin-json-schema-validator": "^
|
|
106
|
-
"eslint-plugin-jsonc": "^
|
|
104
|
+
"eslint-plugin-jsdoc": "^62.0.0",
|
|
105
|
+
"eslint-plugin-json-schema-validator": "^6.0.0",
|
|
106
|
+
"eslint-plugin-jsonc": "^3.0.0",
|
|
107
107
|
"eslint-plugin-markdown": "^5.1.0",
|
|
108
|
-
"eslint-plugin-markdown-links": "^0.
|
|
108
|
+
"eslint-plugin-markdown-links": "^0.8.0",
|
|
109
109
|
"eslint-plugin-n": "^17.16.2",
|
|
110
|
-
"eslint-plugin-node-dependencies": "^
|
|
110
|
+
"eslint-plugin-node-dependencies": "^2.0.0",
|
|
111
111
|
"eslint-plugin-prettier": "^5.2.3",
|
|
112
|
-
"eslint-plugin-regexp": "^
|
|
112
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
113
113
|
"eslint-plugin-vue": "^10.0.0",
|
|
114
|
-
"eslint-plugin-yml": "^
|
|
114
|
+
"eslint-plugin-yml": "^3.0.0",
|
|
115
115
|
"eslint-snapshot-rule-tester": "^0.1.0",
|
|
116
116
|
"eslint-typegen": "^2.0.0",
|
|
117
117
|
"espree": "^11.0.0",
|
|
118
118
|
"events": "^3.3.0",
|
|
119
|
-
"globals": "^
|
|
119
|
+
"globals": "^17.0.0",
|
|
120
120
|
"mocha": "^11.1.0",
|
|
121
121
|
"pako": "^2.1.0",
|
|
122
122
|
"prettier": "^3.5.3",
|
|
123
123
|
"semver": "^7.7.1",
|
|
124
|
-
"stylelint": "^
|
|
125
|
-
"stylelint-config-recommended": "^
|
|
124
|
+
"stylelint": "^17.0.0",
|
|
125
|
+
"stylelint-config-recommended": "^18.0.0",
|
|
126
126
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
127
|
-
"stylelint-config-standard": "^
|
|
127
|
+
"stylelint-config-standard": "^40.0.0",
|
|
128
128
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
129
|
-
"tsdown": "^0.
|
|
130
|
-
"tsx": "^4.19.3",
|
|
129
|
+
"tsdown": "^0.21.0",
|
|
131
130
|
"twoslash-eslint": "^0.3.1",
|
|
132
131
|
"type-fest": "^5.0.0",
|
|
133
132
|
"typescript": "~5.9.0",
|
|
134
133
|
"typescript-eslint": "^8.26.1",
|
|
135
134
|
"util": "^0.12.5",
|
|
136
|
-
"vite-plugin-eslint4b": "^0.
|
|
135
|
+
"vite-plugin-eslint4b": "^0.8.0",
|
|
137
136
|
"vitepress": "^1.6.3",
|
|
138
137
|
"vue-eslint-parser": "^10.0.0"
|
|
139
138
|
},
|
package/lib/chunk-BAz01cYq.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all, symbols) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) {
|
|
6
|
-
__defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: true
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
if (symbols) {
|
|
12
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { __export as t };
|