@cto.af/eslint-config 6.0.2 → 6.0.3

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 +2 -2
  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": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  "@stylistic/eslint-plugin": "4.2.0",
19
19
  "eslint-plugin-n": "17.17.0",
20
20
  "eslint-plugin-redos": "4.4.5",
21
- "globals": "16.0.0"
21
+ "globals": "16.1.0"
22
22
  },
23
23
  "packageManager": "pnpm@10.10.0",
24
24
  "engines": {
package/rules/ts.js CHANGED
@@ -249,6 +249,7 @@ export const rules = {
249
249
  '@typescript-eslint/no-unnecessary-type-arguments': 'off', // Can't config
250
250
  '@typescript-eslint/no-unnecessary-type-assertion': 'off', // Can't config
251
251
  '@typescript-eslint/no-unnecessary-type-constraint': 'error',
252
+ '@typescript-eslint/no-unnecessary-type-conversion': 'error',
252
253
  '@typescript-eslint/no-unnecessary-type-parameters': 'error', // Warning: preliminary
253
254
  '@typescript-eslint/no-unsafe-argument': 'off', // Can't config
254
255
  '@typescript-eslint/no-unsafe-assignment': 'off', // Can't config