aberlaas-lint 2.15.0 → 2.18.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/configs/eslint.js CHANGED
@@ -14,7 +14,7 @@ import { nodeVersion } from 'aberlaas-versions';
14
14
  export default [
15
15
  {
16
16
  name: 'aberlaas/base',
17
- files: ['**/*.js'],
17
+ files: ['**/*.{js,jsx,ts,tsx}'],
18
18
  ignores: ['node_modules/*', '.yarn/*'],
19
19
  languageOptions: {
20
20
  ecmaVersion: 'latest',
@@ -128,6 +128,7 @@ export default [
128
128
  // quotes: We want `hello world` to be converted into 'hello world', but
129
129
  // Prettier doesn't do that, so we need to make eslint do it
130
130
  quotes: ['error', 'single', { avoidEscape: true }],
131
+ 'prettier/prettier': ['error', { singleQuote: true }],
131
132
  },
132
133
  settings: {
133
134
  // eslint-plugin-import doesn't currently support the "exports" syntax in
@@ -147,7 +148,7 @@ export default [
147
148
  },
148
149
  {
149
150
  name: 'aberlaas/vitest',
150
- files: ['**/__tests__/**/*.js'],
151
+ files: ['**/__tests__/**/*.{js,ts}'],
151
152
  languageOptions: {
152
153
  globals: {
153
154
  afterAll: true,
@@ -196,7 +197,7 @@ export default [
196
197
  },
197
198
  {
198
199
  name: 'aberlaas/scripts',
199
- files: ['**/scripts/**/*.js'],
200
+ files: ['**/scripts/**/*.{js,ts}'],
200
201
  rules: { 'no-process-exit': ['off'] },
201
202
  },
202
203
  {
package/lib/js.js CHANGED
@@ -13,7 +13,7 @@ export default {
13
13
  async getInputFiles(userPatterns) {
14
14
  const filePatterns = _.isEmpty(userPatterns) ? ['./**/*.js'] : userPatterns;
15
15
 
16
- return await helper.findHostFiles(filePatterns, ['.js']);
16
+ return await helper.findHostFiles(filePatterns, ['.js', '.jsx', '.ts', '.tsx']);
17
17
  },
18
18
  /**
19
19
  * Lint all files and display results.
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.15.0",
5
+ "version": "2.18.0",
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.14.1",
44
+ "aberlaas-helper": "^2.18.0",
45
45
  "aberlaas-versions": "^2.15.0",
46
46
  "ci-info": "4.1.0",
47
47
  "eslint": "9.15.0",
@@ -50,7 +50,7 @@
50
50
  "eslint-plugin-jsdoc": "50.5.0",
51
51
  "eslint-plugin-n": "17.14.0",
52
52
  "eslint-plugin-prettier": "5.2.1",
53
- "firost": "5.1.0",
53
+ "firost": "5.2.1",
54
54
  "globals": "15.14.0",
55
55
  "golgoth": "3.0.0",
56
56
  "prettier": "3.3.3",
@@ -58,5 +58,5 @@
58
58
  "typescript": "5.6.3",
59
59
  "yaml-lint": "1.7.0"
60
60
  },
61
- "gitHead": "dcadfb4a1d0ed8c9c1db81a30dca396e88f696c4"
61
+ "gitHead": "b54ae29528219c62176d96b9996c133dfbd37e2a"
62
62
  }