markuplint 3.11.0 → 3.12.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.
@@ -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
- for (const excludeFile of excludeFiles) {
183
- if (tslib_1.__classPrivateFieldGet(this, _MLEngine_file, "f").matches(excludeFile)) {
184
- this.emit('exclude', tslib_1.__classPrivateFieldGet(this, _MLEngine_file, "f").path, excludeFile);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markuplint",
3
- "version": "3.11.0",
3
+ "version": "3.12.0",
4
4
  "description": "An HTML linter for all markup developers",
5
5
  "author": "Yusuke Hirao",
6
6
  "license": "MIT",
@@ -20,17 +20,17 @@
20
20
  "clean": "tsc --build --clean"
21
21
  },
22
22
  "dependencies": {
23
- "@markuplint/create-rule-helper": "3.11.0",
24
- "@markuplint/file-resolver": "3.11.0",
25
- "@markuplint/html-parser": "3.9.0",
26
- "@markuplint/html-spec": "3.10.0",
23
+ "@markuplint/create-rule-helper": "3.12.0",
24
+ "@markuplint/file-resolver": "3.12.0",
25
+ "@markuplint/html-parser": "3.10.0",
26
+ "@markuplint/html-spec": "3.11.0",
27
27
  "@markuplint/i18n": "3.9.0",
28
28
  "@markuplint/ml-ast": "3.2.0",
29
- "@markuplint/ml-config": "3.10.0",
30
- "@markuplint/ml-core": "3.11.0",
31
- "@markuplint/ml-spec": "3.10.0",
32
- "@markuplint/rules": "3.11.0",
33
- "@markuplint/shared": "3.7.0",
29
+ "@markuplint/ml-config": "3.11.0",
30
+ "@markuplint/ml-core": "3.12.0",
31
+ "@markuplint/ml-spec": "3.11.0",
32
+ "@markuplint/rules": "3.12.0",
33
+ "@markuplint/shared": "3.8.0",
34
34
  "@types/cli-color": "^2.0.2",
35
35
  "@types/debug": "^4.1.8",
36
36
  "@types/has-yarn": "^1.0.1",
@@ -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.5.3",
54
- "type-fest": "^3.11.1",
53
+ "tslib": "^2.6.0",
54
+ "type-fest": "^3.12.0",
55
55
  "uuid": "^9.0.0"
56
56
  },
57
- "gitHead": "9547b8dca20736a93e4d01af2d61bee314ba5718"
57
+ "gitHead": "4ab20276db48a6acb29a923ea8666890ca853442"
58
58
  }