eslint-plugin-putout 22.1.0 → 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.
- package/lib/config/index.js +3 -1
- package/lib/putout/index.js +1 -1
- package/lib/ts.js +5 -4
- package/package.json +4 -4
package/lib/config/index.js
CHANGED
|
@@ -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
|
-
|
|
10
|
+
languageOptions: {
|
|
11
|
+
baseDirectory: __dirname,
|
|
12
|
+
},
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
const n = nPlugin.configs['flat/mixed-esm-and-cjs'];
|
package/lib/putout/index.js
CHANGED
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': '
|
|
44
|
-
|
|
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.
|
|
3
|
+
"version": "22.2.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "ESLint plugin for 🐊Putout",
|
|
6
6
|
"release": false,
|
|
@@ -40,9 +40,9 @@
|
|
|
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": "^
|
|
43
|
+
"@eslint/eslintrc": "^3.0.0",
|
|
44
44
|
"@putout/engine-parser": "^10.0.0",
|
|
45
|
-
"@putout/eslint": "^
|
|
45
|
+
"@putout/eslint": "^3.0.0",
|
|
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",
|
|
@@ -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": "^
|
|
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",
|