aberlaas-lint 2.18.0 → 2.18.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.
Files changed (2) hide show
  1. package/lib/js.js +7 -2
  2. package/package.json +3 -3
package/lib/js.js CHANGED
@@ -13,7 +13,12 @@ export default {
13
13
  async getInputFiles(userPatterns) {
14
14
  const filePatterns = _.isEmpty(userPatterns) ? ['./**/*.js'] : userPatterns;
15
15
 
16
- return await helper.findHostFiles(filePatterns, ['.js', '.jsx', '.ts', '.tsx']);
16
+ return await helper.findHostFiles(filePatterns, [
17
+ '.js',
18
+ '.jsx',
19
+ '.ts',
20
+ '.tsx',
21
+ ]);
17
22
  },
18
23
  /**
19
24
  * Lint all files and display results.
@@ -24,7 +29,7 @@ export default {
24
29
  */
25
30
  async run(userPatterns, userConfigFile, userOptions = {}) {
26
31
  // Options
27
- const options = { fix: false, ...userOptions };
32
+ const options = { fix: false, warnIgnored: false, ...userOptions };
28
33
 
29
34
  // Files to lint
30
35
  const files = await this.getInputFiles(userPatterns);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "aberlaas-lint",
3
3
  "type": "module",
4
4
  "description": "aberlaas lint command: Lint files",
5
- "version": "2.18.0",
5
+ "version": "2.18.1",
6
6
  "repository": "pixelastic/aberlaas",
7
7
  "homepage": "https://projects.pixelastic.com/aberlaas/",
8
8
  "author": "Tim Carry (@pixelastic)",
@@ -41,7 +41,7 @@
41
41
  "@eslint/js": "9.15.0",
42
42
  "@typescript-eslint/utils": "8.15.0",
43
43
  "@vitest/eslint-plugin": "1.1.10",
44
- "aberlaas-helper": "^2.18.0",
44
+ "aberlaas-helper": "^2.18.1",
45
45
  "aberlaas-versions": "^2.15.0",
46
46
  "ci-info": "4.1.0",
47
47
  "eslint": "9.15.0",
@@ -58,5 +58,5 @@
58
58
  "typescript": "5.6.3",
59
59
  "yaml-lint": "1.7.0"
60
60
  },
61
- "gitHead": "b54ae29528219c62176d96b9996c133dfbd37e2a"
61
+ "gitHead": "00b60dcf9aebab442a809ccc81942005d87d1b5c"
62
62
  }