putout v21.6.0
No more apply-filter-boolean 💥
@putout/plugin-apply-filter-boolean is disabled and will be removed from default installation on next major bump of Putout. Thanks to @B2o5T for helping me to understand that @putout/plugin-remove-useless-functions feats much more for this purpose in #86 🎉
So now all kinds of code:
[].filter((a) => a);
[].find((a) => a);
[].findIndex((a) => a);
[].some((a) => a);
[].every((a) => a);Will be fixed to:
[].filter(Boolean);
[].find(Boolean);
[].findIndex(Boolean);
[].some(Boolean);
[].every(Boolean);🔥 feature
- (package) @putout/plugin-remove-useless-functions v2.0.0
- (@putout/plugin-remove-useless-functions) drop support of node < 14
- (putout) apply-filter-boolean: disabled and will be removed in next major version
- (@putout/plugin-remove-useless-functions) add support of id
- (eslint-plugin-putout) add babel options from @putout/engine-parser for TypeScript and Markdown
- (@putout/engine-parser) export babel/options
- (@putout/plugin-tape) add-stop-all: add support of test.only(), test.skip()
- (@putout/plugin-tape) remove-stop-all: add support of test.only(), test.skip()