eslint-plugin-putout 22.1.1 → 22.2.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.
@@ -7,7 +7,9 @@ const putoutPlugin = require('..');
7
7
  const getPutoutConfig = (name) => compat.config(putoutPlugin.configs[name]);
8
8
 
9
9
  const compat = new FlatCompat({
10
- baseDirectory: __dirname,
10
+ languageOptions: {
11
+ baseDirectory: __dirname,
12
+ },
11
13
  });
12
14
 
13
15
  const n = nPlugin.configs['flat/mixed-esm-and-cjs'];
@@ -13,7 +13,7 @@ module.exports = {
13
13
  category: 'putout',
14
14
  recommended: true,
15
15
  },
16
- schema: {},
16
+ schema: false,
17
17
  fixable: 'code',
18
18
  },
19
19
 
package/lib/ts.js CHANGED
@@ -38,10 +38,11 @@ const extensionRules = {
38
38
  'no-unused-vars': 'off',
39
39
  '@typescript-eslint/no-unused-vars': 'error',
40
40
 
41
- '@typescript-eslint/require-await': 'off',
42
-
43
- 'no-redeclare': 'off',
44
- '@typescript-eslint/no-redeclare': 'error',
41
+ '@typescript-eslint/require-await': 'off', // disabled while https://github.com/typescript-eslint/typescript-eslint/pull/8171 merged
42
+ // 'no-redeclare': 'off',
43
+ // '@typescript-eslint/no-redeclare': 'error',
44
+ // same
45
+ '@typescript-eslint/no-unsafe-declaration-merging': 'off',
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.1.1",
3
+ "version": "22.2.0",
4
4
  "type": "commonjs",
5
5
  "description": "ESLint plugin for 🐊Putout",
6
6
  "release": false,
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "@babel/core": "^8.0.0-alpha.1",
42
42
  "@babel/eslint-parser": "^8.0.0-alpha.1",
43
- "@eslint/eslintrc": "^2.0.2",
43
+ "@eslint/eslintrc": "^3.0.0",
44
44
  "@putout/engine-parser": "^10.0.0",
45
45
  "@putout/eslint": "^3.0.0",
46
46
  "@putout/eslint-config": "^8.0.0",
@@ -62,7 +62,7 @@
62
62
  "@putout/plugin-eslint-plugin": "*",
63
63
  "@putout/test": "^8.0.0",
64
64
  "c8": "^8.0.0",
65
- "eslint": "^8.0.1",
65
+ "eslint": "^9.0.0-alpha.0",
66
66
  "eslint-plugin-eslint-plugin": "^5.0.6",
67
67
  "madrun": "^10.0.0",
68
68
  "mocha": "^10.0.0",