Skip to content

putout v35.21.0

Choose a tag to compare

@coderaiser coderaiser released this 06 May 17:34
· 5965 commits to master since this release

🐊Putout - first linter that fixes syntax errors

Hi folks 🍎!

Today we will talk about auto fixing syntax errors.

Arrow expression with Arrow declaration mixed

Let's suppose you forget to remove arrow:

image

That's fine, 🐊Putout will tell you about this:

image

And you also can fix it:

image

And it will look this way:

image

No async? No problem!

Forget about adding async keyword?

image

Worry not!

image

🐊Putout will take care about this!

image

Forget round braces? No worry at all!

image

Here is report message:

image

And of course fix!

image

That's all for today, cheers 🦏!

🐞 fix

  • 8b22f54 @putout/processor-yaml: lineWidth: 80 -> Infinity

🔥 feature

  • 68404b1 putout: add ability to autofix syntax
  • 7367fd1 @putout/plugin-react: remove-useless-forward-ref: add
  • 522b92c @putout/plugin-apply-overrides: improve support of one-two arguments
  • d86f101 @putout/plugin-react: remove-implicit-ref-return: add
  • 6064290 eslint-plugin-putout: long-properties-destructuring: exclude ImportDefaultSpecifier
  • 2d68909 @putout/plugin-react: add