eslint-plugin-putout 22.3.1 → 22.4.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/lib/ts.js +7 -6
  2. package/package.json +5 -5
package/lib/ts.js CHANGED
@@ -36,12 +36,13 @@ const extensionRules = {
36
36
  '@typescript-eslint/no-implied-eval': 'off',
37
37
 
38
38
  'no-unused-vars': 'off',
39
- '@typescript-eslint/no-unused-vars': 'off', // disabled while ESLint v9 supported
40
- '@typescript-eslint/require-await': 'off', // disabled while while ESLint v9 supported
41
- // 'no-redeclare': 'off',
42
- // '@typescript-eslint/no-redeclare': 'error',
43
- // same
44
- '@typescript-eslint/no-unsafe-declaration-merging': 'off',
39
+ '@typescript-eslint/no-unused-vars': 'error',
40
+
41
+ '@typescript-eslint/require-await': 'off', // needs project information
42
+ 'no-redeclare': 'off',
43
+ '@typescript-eslint/no-redeclare': 'error',
44
+
45
+ '@typescript-eslint/no-unsafe-declaration-merging': 'error',
45
46
  };
46
47
 
47
48
  const ts = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-putout",
3
- "version": "22.3.1",
3
+ "version": "22.4.0",
4
4
  "type": "commonjs",
5
5
  "description": "ESLint plugin for 🐊Putout",
6
6
  "release": false,
@@ -46,8 +46,8 @@
46
46
  "@putout/eslint-config": "^8.0.0",
47
47
  "@stylistic/eslint-plugin-jsx": "^1.0.0",
48
48
  "@stylistic/eslint-plugin-ts": "^1.0.0",
49
- "@typescript-eslint/eslint-plugin": "^6.0.0",
50
- "@typescript-eslint/parser": "^6.0.0",
49
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
50
+ "@typescript-eslint/parser": "^7.0.1",
51
51
  "align-spaces": "^1.0.0",
52
52
  "eslint-plugin-n": "^17.0.0-0",
53
53
  "eslint-plugin-react": "^7.32.2",
@@ -60,7 +60,7 @@
60
60
  "devDependencies": {
61
61
  "@babel/plugin-syntax-typescript": "^8.0.0-alpha.1",
62
62
  "@putout/plugin-eslint-plugin": "*",
63
- "@putout/test": "^8.0.0",
63
+ "@putout/test": "^9.0.0",
64
64
  "c8": "^9.0.0",
65
65
  "eslint": "^9.0.0-alpha.0",
66
66
  "eslint-plugin-eslint-plugin": "^5.0.6",
@@ -68,7 +68,7 @@
68
68
  "mocha": "^10.0.0",
69
69
  "montag": "^1.0.0",
70
70
  "simport": "^1.2.0",
71
- "supertape": "^9.0.0"
71
+ "supertape": "^10.0.0"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=18"