@virmator/lint 13.13.5 → 13.14.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.
@@ -147,7 +147,6 @@ export function defineEslintConfig(repoDir) {
147
147
  'unicorn/no-useless-spread': 'error',
148
148
  'unicorn/no-useless-switch-case': 'error',
149
149
  'unicorn/no-zero-fractions': 'error',
150
- 'unicorn/number-literal-case': 'error',
151
150
  'unicorn/numeric-separators-style': 'error',
152
151
  'unicorn/prefer-array-find': 'error',
153
152
  'unicorn/prefer-array-flat-map': 'error',
@@ -179,6 +178,14 @@ export function defineEslintConfig(repoDir) {
179
178
  'no-lonely-if': 'error',
180
179
  curly: 'error',
181
180
 
181
+ '@typescript-eslint/consistent-type-imports': [
182
+ 'error',
183
+ {
184
+ disallowTypeAnnotations: false,
185
+ fixStyle: 'inline-type-imports',
186
+ prefer: 'type-imports',
187
+ },
188
+ ],
182
189
  '@typescript-eslint/no-floating-promises': [
183
190
  'error',
184
191
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/lint",
3
- "version": "13.13.5",
3
+ "version": "13.14.1",
4
4
  "description": "Default ESLint linting plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -20,6 +20,7 @@
20
20
  "name": "electrovir",
21
21
  "url": "https://github.com/electrovir"
22
22
  },
23
+ "sideEffects": false,
23
24
  "type": "module",
24
25
  "main": "dist/lint.js",
25
26
  "module": "dist/lint.js",
@@ -31,31 +32,31 @@
31
32
  "test:update": "npm test update"
32
33
  },
33
34
  "dependencies": {
34
- "@augment-vir/assert": "^31.10.1",
35
- "@augment-vir/common": "^31.10.1",
36
- "@virmator/core": "^13.13.5",
35
+ "@augment-vir/assert": "^31.14.1",
36
+ "@augment-vir/common": "^31.14.1",
37
+ "@virmator/core": "^13.14.1",
37
38
  "mri": "^1.2.0"
38
39
  },
39
40
  "devDependencies": {
40
- "@augment-vir/test": "^31.10.1",
41
+ "@augment-vir/test": "^31.14.1",
41
42
  "@eslint/eslintrc": "^3.3.1",
42
- "@eslint/js": "9.23.0",
43
+ "@eslint/js": "9.25.1",
43
44
  "@stylistic/eslint-plugin": "^4.2.0",
44
45
  "@stylistic/eslint-plugin-ts": "^4.2.0",
45
- "@types/node": "^22.13.13",
46
- "@typescript-eslint/eslint-plugin": "^8.27.0",
46
+ "@types/node": "^22.15.0",
47
+ "@typescript-eslint/eslint-plugin": "^8.31.0",
47
48
  "c8": "^10.1.3",
48
- "eslint": "^9.23.0",
49
- "eslint-config-prettier": "^10.1.1",
50
- "eslint-plugin-jsdoc": "^50.6.9",
49
+ "eslint": "^9.25.1",
50
+ "eslint-config-prettier": "^10.1.2",
51
+ "eslint-plugin-jsdoc": "^50.6.10",
51
52
  "eslint-plugin-monorepo-cop": "^1.0.2",
52
53
  "eslint-plugin-playwright": "^2.2.0",
53
- "eslint-plugin-prettier": "^5.2.4",
54
+ "eslint-plugin-prettier": "^5.2.6",
54
55
  "eslint-plugin-require-extensions": "^0.1.3",
55
56
  "eslint-plugin-sonarjs": "^3.0.2",
56
57
  "eslint-plugin-unicorn": "^58.0.0",
57
58
  "istanbul-smart-text-reporter": "^1.1.5",
58
- "typescript-eslint": "^8.27.0"
59
+ "typescript-eslint": "^8.31.0"
59
60
  },
60
61
  "engines": {
61
62
  "node": ">=22"