@cto.af/eslint-config 4.1.1 → 4.1.2

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/package.json +7 -7
  2. package/rules/ts.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,20 +23,20 @@
23
23
  "@cto.af/eslint-plugin-meta": "github:cto-af/eslint-plugin-meta",
24
24
  "eslint": "^9.5.0",
25
25
  "eslint-plugin-ava": "^15.0.1",
26
- "eslint-plugin-jsdoc": "^48.4.0",
26
+ "eslint-plugin-jsdoc": "^48.5.0",
27
27
  "eslint-plugin-markdown": "^5.0.0",
28
28
  "eslint-plugin-mocha": "10.4.3",
29
29
  "typescript": "5.5.2",
30
- "typescript-eslint": "^8.0.0-alpha.33"
30
+ "typescript-eslint": "^8.0.0-alpha.34"
31
31
  },
32
32
  "overrides": {
33
- "@typescript-eslint/utils": "8.0.0-alpha.33",
34
- "@typescript-eslint/parser": "8.0.0-alpha.33"
33
+ "@typescript-eslint/utils": "8.0.0-alpha.34",
34
+ "@typescript-eslint/parser": "8.0.0-alpha.34"
35
35
  },
36
36
  "pnpm": {
37
37
  "overrides": {
38
- "@typescript-eslint/utils": "8.0.0-alpha.33",
39
- "@typescript-eslint/parser": "8.0.0-alpha.33"
38
+ "@typescript-eslint/utils": "8.0.0-alpha.34",
39
+ "@typescript-eslint/parser": "8.0.0-alpha.34"
40
40
  }
41
41
  },
42
42
  "packageManager": "pnpm@9.4.0",
package/rules/ts.js CHANGED
@@ -107,6 +107,7 @@ module.exports = {
107
107
  '@typescript-eslint/no-unnecessary-type-arguments': 'off', // Can't config
108
108
  '@typescript-eslint/no-unnecessary-type-assertion': 'off', // Can't config
109
109
  '@typescript-eslint/no-unnecessary-type-constraint': 'error',
110
+ '@typescript-eslint/no-unnecessary-type-parameters': 'error', // Warning: preliminary
110
111
  '@typescript-eslint/no-unsafe-argument': 'off', // Can't config
111
112
  '@typescript-eslint/no-unsafe-assignment': 'off', // Can't config
112
113
  '@typescript-eslint/no-unsafe-call': 'off', // Can't config