putout 33.1.1 → 33.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/ChangeLog +6 -0
- package/lib/cli/process-file.js +1 -2
- package/lib/loader.mjs +1 -2
- package/lib/parse-options/parse-match.js +1 -2
- package/package.json +2 -1
- package/putout.json +2 -0
package/ChangeLog
CHANGED
package/lib/cli/process-file.js
CHANGED
|
@@ -30,9 +30,8 @@ module.exports = ({fix, fixCount, isFlow, logError, raw, printer}) => async ({na
|
|
|
30
30
|
printer: configurePrinter(name, printer),
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
if (e)
|
|
33
|
+
if (e)
|
|
34
34
|
raw && logError(e);
|
|
35
|
-
}
|
|
36
35
|
|
|
37
36
|
const {code = source} = result || {};
|
|
38
37
|
const allPlaces = result ? result.places : parseError(e);
|
package/lib/loader.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "33.
|
|
3
|
+
"version": "33.2.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@putout/operator-filesystem": "^1.0.1",
|
|
75
75
|
"@putout/operator-regexp": "^1.0.0",
|
|
76
76
|
"@putout/plugin-apply-at": "^2.0.0",
|
|
77
|
+
"@putout/plugin-apply-consistent-blocks": "^1.0.0",
|
|
77
78
|
"@putout/plugin-apply-destructuring": "^7.0.0",
|
|
78
79
|
"@putout/plugin-apply-dot-notation": "^1.0.0",
|
|
79
80
|
"@putout/plugin-apply-early-return": "^3.0.0",
|
package/putout.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"remove-empty/import": "off"
|
|
32
32
|
},
|
|
33
33
|
"*.md": {
|
|
34
|
+
"apply-consistent-blocks": "off",
|
|
34
35
|
"maybe": "off",
|
|
35
36
|
"convert-quotes-to-backticks": "off",
|
|
36
37
|
"conditions/convert-comparison-to-boolean": "off",
|
|
@@ -150,6 +151,7 @@
|
|
|
150
151
|
"tape/convert-mock-require-to-mock-import": "off"
|
|
151
152
|
},
|
|
152
153
|
"plugins": [
|
|
154
|
+
"apply-consistent-blocks",
|
|
153
155
|
"apply-at",
|
|
154
156
|
"apply-dot-notation",
|
|
155
157
|
"apply-early-return",
|