eslint-plugin-putout 29.0.0 β 29.0.1
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/README.md +1 -1
- package/lib/index.mjs +2 -2
- package/lib/putout/sync/index.js +1 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ Disabled π**Putout** rules:
|
|
|
177
177
|
- β [`remove-unused-variables`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-unused-variables#readme);
|
|
178
178
|
- β [`typescript/remove-unused-types`](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-unused-types#readme);
|
|
179
179
|
- β [`remove-unused-expressions`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-unused-expressions#readme);
|
|
180
|
-
- β [`
|
|
180
|
+
- β [`variables`](https://github.com/coderaiser/putout/tree/v41.0.0/packages/plugin-variables#readme);
|
|
181
181
|
- β [`remove-useless-arguments`](https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-arguments#readme);
|
|
182
182
|
- β [`return/remove-useless`](https://github.com/coderaiser/putout/tree/v38.0.0/packages/plugin-return#remove-useless);
|
|
183
183
|
- β [`remove-useless-spread`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-useless-spread/#readme);
|
package/lib/index.mjs
CHANGED
|
@@ -78,8 +78,8 @@ export const safeRules = {
|
|
|
78
78
|
'remove-unused-variables': 'off',
|
|
79
79
|
'remove-unused-expressions': 'off',
|
|
80
80
|
'remove-unreachable-code': 'off',
|
|
81
|
-
'
|
|
82
|
-
'
|
|
81
|
+
'arguments': 'off',
|
|
82
|
+
'variables': 'off',
|
|
83
83
|
'return/remove-useless': 'off',
|
|
84
84
|
'remove-useless-spread': 'off',
|
|
85
85
|
'remove-unreferenced-variables': 'off',
|
package/lib/putout/sync/index.js
CHANGED
|
@@ -81,9 +81,7 @@ const fix = ({ast, text, node, source, resultOptions}) => (fixer) => {
|
|
|
81
81
|
includeComments,
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
transform(ast, text,
|
|
85
|
-
...resultOptions,
|
|
86
|
-
});
|
|
84
|
+
transform(ast, text, resultOptions);
|
|
87
85
|
|
|
88
86
|
const [, last] = lastToken.range;
|
|
89
87
|
const code = print(ast);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-putout",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "ESLint plugin for πPutout",
|
|
6
6
|
"release": false,
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@typescript-eslint/parser": "^8.3.0",
|
|
51
51
|
"align-spaces": "^2.0.0",
|
|
52
52
|
"eslint-plugin-n": "^17.0.0",
|
|
53
|
-
"eslint-plugin-putout": "^
|
|
53
|
+
"eslint-plugin-putout": "^29.0.0",
|
|
54
54
|
"eslint-plugin-react": "^7.32.2",
|
|
55
55
|
"eslint-scope": "^9.0.0",
|
|
56
56
|
"globals": "^16.0.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/plugin-syntax-typescript": "^8.0.0-alpha.1",
|
|
65
|
-
"@putout/plugin-eslint-plugin": "
|
|
65
|
+
"@putout/plugin-eslint-plugin": "^7.0.0",
|
|
66
66
|
"@putout/test": "^14.0.0",
|
|
67
67
|
"c8": "^10.0.0",
|
|
68
68
|
"eslint": "v10.0.0-alpha.0",
|