markuplint 3.11.0 → 3.12.1
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/README.md +4 -1
- package/lib/api/ml-engine.js +3 -6
- package/lib/get-json-module.d.ts +1 -0
- package/lib/get-json-module.js +10 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +3 -0
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -77,6 +77,7 @@ Options
|
|
|
77
77
|
--format, -f FORMAT Output format. Support "JSON", "Simple", "GitHub" and "Standard". Default: "Standard".
|
|
78
78
|
--no-search-config No search a configure file automatically.
|
|
79
79
|
--ignore-ext Evaluate files that are received even though the type of extension.
|
|
80
|
+
--allow-warnings Return status code 0 even if there are warnings.
|
|
80
81
|
--no-import-preset-rules No import preset rules.
|
|
81
82
|
--locale Locale of the message of violation. Default is an OS setting.
|
|
82
83
|
--no-color, Output no color.
|
|
@@ -120,8 +121,10 @@ Need [Sponsors❤️🔥](https://github.com/sponsors/markuplint)
|
|
|
120
121
|
### Personal Supporters
|
|
121
122
|
|
|
122
123
|
[<img width="36" src="https://avatars.githubusercontent.com/u/91733847" alt="Tokitake" />](https://github.com/Tokitake)
|
|
123
|
-
[<img width="36" src="https://avatars.githubusercontent.com/u/1996642" alt="
|
|
124
|
+
[<img width="36" src="https://avatars.githubusercontent.com/u/1996642" alt="Okuto Oyama" />](https://github.com/yamanoku)
|
|
124
125
|
[<img width="36" src="https://avatars.githubusercontent.com/u/6581173" alt="miita" />](https://github.com/mikimhk)
|
|
126
|
+
[<img width="36" src="https://avatars.githubusercontent.com/u/111797" alt="Yasuo Fukuda" />](https://github.com/sigwyg)
|
|
127
|
+
[<img width="36" src="https://avatars.githubusercontent.com/u/802921" alt="Hideyuki Saito" />](https://github.com/hideyukisaito)
|
|
125
128
|
|
|
126
129
|
## Thanks
|
|
127
130
|
|
package/lib/api/ml-engine.js
CHANGED
|
@@ -179,12 +179,9 @@ class MLEngine extends strict_event_emitter_1.Emitter {
|
|
|
179
179
|
}
|
|
180
180
|
// Exclude
|
|
181
181
|
const excludeFiles = (_a = configSet.config.excludeFiles) !== null && _a !== void 0 ? _a : [];
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
fileLog('Excludes the file: %s', tslib_1.__classPrivateFieldGet(this, _MLEngine_file, "f").path);
|
|
186
|
-
return null;
|
|
187
|
-
}
|
|
182
|
+
if (tslib_1.__classPrivateFieldGet(this, _MLEngine_file, "f").ignored(excludeFiles)) {
|
|
183
|
+
fileLog('Excludes the file: %s', tslib_1.__classPrivateFieldGet(this, _MLEngine_file, "f").path);
|
|
184
|
+
return null;
|
|
188
185
|
}
|
|
189
186
|
const { parser, parserOptions, matched } = await this.resolveParser(configSet);
|
|
190
187
|
const checkingExt = !((_b = tslib_1.__classPrivateFieldGet(this, _MLEngine_options, "f")) === null || _b === void 0 ? void 0 : _b.ignoreExt);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getJsonModule<T extends {}>(modulePath: string): T | null;
|
package/lib/version.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const version: string;
|
package/lib/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markuplint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.1",
|
|
4
4
|
"description": "An HTML linter for all markup developers",
|
|
5
5
|
"author": "Yusuke Hirao",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,28 +20,28 @@
|
|
|
20
20
|
"clean": "tsc --build --clean"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@markuplint/create-rule-helper": "3.
|
|
24
|
-
"@markuplint/file-resolver": "3.
|
|
25
|
-
"@markuplint/html-parser": "3.
|
|
26
|
-
"@markuplint/html-spec": "3.
|
|
23
|
+
"@markuplint/create-rule-helper": "3.12.1",
|
|
24
|
+
"@markuplint/file-resolver": "3.12.1",
|
|
25
|
+
"@markuplint/html-parser": "3.10.1",
|
|
26
|
+
"@markuplint/html-spec": "3.11.1",
|
|
27
27
|
"@markuplint/i18n": "3.9.0",
|
|
28
28
|
"@markuplint/ml-ast": "3.2.0",
|
|
29
|
-
"@markuplint/ml-config": "3.
|
|
30
|
-
"@markuplint/ml-core": "3.
|
|
31
|
-
"@markuplint/ml-spec": "3.
|
|
32
|
-
"@markuplint/rules": "3.
|
|
33
|
-
"@markuplint/shared": "3.
|
|
34
|
-
"@types/cli-color": "^2.0.
|
|
29
|
+
"@markuplint/ml-config": "3.11.1",
|
|
30
|
+
"@markuplint/ml-core": "3.12.1",
|
|
31
|
+
"@markuplint/ml-spec": "3.11.1",
|
|
32
|
+
"@markuplint/rules": "3.12.1",
|
|
33
|
+
"@markuplint/shared": "3.8.0",
|
|
34
|
+
"@types/cli-color": "^2.0.3",
|
|
35
35
|
"@types/debug": "^4.1.8",
|
|
36
36
|
"@types/has-yarn": "^1.0.1",
|
|
37
37
|
"@types/meow": "^6.0.0",
|
|
38
|
-
"@types/uuid": "^9.0.
|
|
38
|
+
"@types/uuid": "^9.0.3",
|
|
39
39
|
"chokidar": "^3.5.3",
|
|
40
40
|
"cli-color": "^2.0.3",
|
|
41
41
|
"debug": "^4.3.4",
|
|
42
42
|
"detect-installed": "^2.0.4",
|
|
43
43
|
"eastasianwidth": "^0.2.0",
|
|
44
|
-
"enquirer": "^2.
|
|
44
|
+
"enquirer": "^2.4.1",
|
|
45
45
|
"get-stdin": "8",
|
|
46
46
|
"gray-matter": "^4.0.3",
|
|
47
47
|
"has-yarn": "2",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"os-locale": "5",
|
|
51
51
|
"strict-event-emitter": "^0.5.0",
|
|
52
52
|
"strip-ansi": "6",
|
|
53
|
-
"tslib": "^2.
|
|
54
|
-
"type-fest": "^3.
|
|
53
|
+
"tslib": "^2.6.2",
|
|
54
|
+
"type-fest": "^4.3.1",
|
|
55
55
|
"uuid": "^9.0.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "09100b8baa14dd930602daa458197322197c79c2"
|
|
58
58
|
}
|