@virmator/lint 14.4.3 → 14.5.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.
Files changed (2) hide show
  1. package/dist/lint.js +4 -0
  2. package/package.json +14 -13
package/dist/lint.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { check } from '@augment-vir/assert';
2
2
  import { RuntimeEnv } from '@augment-vir/common';
3
+ import { interpolationSafeWindowsPath } from '@augment-vir/node';
3
4
  import { defineVirmatorPlugin, NpmDepType, PackageType } from '@virmator/core';
4
5
  import mri from 'mri';
5
6
  import { join } from 'node:path';
@@ -239,9 +240,12 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
239
240
  }, async ({ package: { monoRepoRootPath }, runShellCommand, cliInputs: { usedCommands, filteredArgs }, }) => {
240
241
  const args = mri(filteredArgs);
241
242
  const dirPath = args._.length ? '' : '.';
243
+ const cacheLocation = join(monoRepoRootPath, 'node_modules', '.cache', '.eslintcache');
242
244
  const eslintCommand = [
243
245
  'npx',
244
246
  'eslint',
247
+ '--cache',
248
+ `--cache-location='${interpolationSafeWindowsPath(cacheLocation)}'`,
245
249
  usedCommands.lint?.subCommands.fix && !args.fix ? '--fix' : '',
246
250
  dirPath,
247
251
  ...filteredArgs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/lint",
3
- "version": "14.4.3",
3
+ "version": "14.5.0",
4
4
  "description": "Default ESLint linting plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -32,31 +32,32 @@
32
32
  "test:update": "npm test update"
33
33
  },
34
34
  "dependencies": {
35
- "@augment-vir/assert": "^31.58.0",
36
- "@augment-vir/common": "^31.58.0",
37
- "@virmator/core": "^14.4.3",
35
+ "@augment-vir/assert": "^31.59.1",
36
+ "@augment-vir/common": "^31.59.1",
37
+ "@augment-vir/node": "^31.59.1",
38
+ "@virmator/core": "^14.5.0",
38
39
  "mri": "^1.2.0"
39
40
  },
40
41
  "devDependencies": {
41
- "@augment-vir/test": "^31.58.0",
42
+ "@augment-vir/test": "^31.59.1",
42
43
  "@eslint/eslintrc": "^3.3.3",
43
44
  "@eslint/js": "9.39.2",
44
- "@stylistic/eslint-plugin": "^5.7.0",
45
+ "@stylistic/eslint-plugin": "^5.7.1",
45
46
  "@stylistic/eslint-plugin-ts": "^4.4.1",
46
- "@types/node": "^25.0.3",
47
- "@typescript-eslint/eslint-plugin": "^8.53.0",
47
+ "@types/node": "^25.2.0",
48
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
48
49
  "c8": "^10.1.3",
49
50
  "eslint": "^9.39.2",
50
51
  "eslint-config-prettier": "^10.1.8",
51
- "eslint-plugin-jsdoc": "^62.0.0",
52
+ "eslint-plugin-jsdoc": "^62.5.0",
52
53
  "eslint-plugin-monorepo-cop": "^1.0.2",
53
- "eslint-plugin-playwright": "^2.5.0",
54
- "eslint-plugin-prettier": "^5.5.4",
54
+ "eslint-plugin-playwright": "^2.5.1",
55
+ "eslint-plugin-prettier": "^5.5.5",
55
56
  "eslint-plugin-require-extensions": "^0.1.3",
56
- "eslint-plugin-sonarjs": "^3.0.5",
57
+ "eslint-plugin-sonarjs": "^3.0.6",
57
58
  "eslint-plugin-unicorn": "^62.0.0",
58
59
  "istanbul-smart-text-reporter": "^1.1.5",
59
- "typescript-eslint": "^8.53.0"
60
+ "typescript-eslint": "^8.54.0"
60
61
  },
61
62
  "engines": {
62
63
  "node": ">=22"