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.
Files changed (2) hide show
  1. package/ChangeLog +28 -0
  2. package/package.json +2 -2
package/ChangeLog CHANGED
@@ -1,3 +1,31 @@
1
+ 2021.11.27, v22.2.0
2
+
3
+ fix:
4
+ - (@putout/plugin-remove-unused-variables) OptionalMemberExpression: computed property
5
+ - (eslint-plugin-putout) array-element-newline: minimum elements: 4 -> 5
6
+ - (eslint-plugin-putout) add-newlinew-before-function-call: trimed whitespaces on empty line
7
+ - (eslint-plugin-putout) add-newline-before-function-call: add support of comments
8
+ - (eslint-plugin-putout) add-newline-before-function-call: continue -> return
9
+
10
+ feature:
11
+ - (package) @putout/plugin-remove-constant-conditions v3.0.0
12
+ - (@putout/plugin-remove-constant-conditions) drop support of node < 14
13
+ - (@putout/plugin-remove-constant-conditions) add support of consequent not body
14
+ - (eslint-plugin-putout) safe: disable remove-unreachable-code
15
+ - (@putout/plugin-remove-unused-variables) improve support of OptionalMemberExpression
16
+ - (eslint-plugin-putout) add-newline-after-function-call: add support of ArrayExpression and ObjectExpression
17
+ - (eslint-plugin-putout) add add-newline-after-function-call
18
+ - (@putout/eslint-config) padding-line-between-statements: add support of while
19
+ - (eslint-plugin-putout) add add-newline-before-function-call
20
+ - (@putout/eslint-config) add func-call-spacing (https://eslint.org/docs/rules/func-call-spacing)
21
+ - (eslint-plugin-putout) plugin-tape-remove-newline-before-t-end: add support of trimed newline
22
+ - (eslint-plugin-putout) add add-newline-before-t-end
23
+ - (@putout/plugin-declare-undefined-variables) add maybeEmptyArray
24
+ - (eslint-plugin-putout) array-element-newline: add support of Identifier
25
+ - (@putout/eslint-config) padding-line-between-statements: add newline between for and return
26
+ - (@putout/plugin-remove-useless-spread) add support of logical expressions
27
+
28
+
1
29
  2021.11.21, v22.1.1
2
30
 
3
31
  feature:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "22.1.1",
3
+ "version": "22.2.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
@@ -122,7 +122,7 @@
122
122
  "@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
123
123
  "@putout/plugin-remove-boolean-from-logical-expressions": "^4.0.0",
124
124
  "@putout/plugin-remove-console": "^3.0.0",
125
- "@putout/plugin-remove-constant-conditions": "^2.0.0",
125
+ "@putout/plugin-remove-constant-conditions": "^3.0.0",
126
126
  "@putout/plugin-remove-debugger": "^4.0.0",
127
127
  "@putout/plugin-remove-duplicate-case": "^1.0.0",
128
128
  "@putout/plugin-remove-duplicate-interface-keys": "^3.0.0",