Putout Versions Save

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement πŸ’ͺ with built-in support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏

v35.23.0

1 week ago

🐞 fix

  • fa79b359c @putout/plugin-eslint: apply-dir-to-flat: report

πŸ”₯ feature

  • 60f3215aa putout: @putout/plugin-for-of v6.0.0
  • 360f0cc9d @putout/plugin-generators: add
  • e674127aa @putout/plugin-for-of: add-missing-star: move out to generators
  • 06937ee22 @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: improve check of parent directory
  • 358fa9655 @putout/plugin-putout: convert-node-to-path-in-get-template-values: exclude parentPath
  • c0f246225 @putout/plugin-apply-overrides: exclude nested
  • 6d61ac19a @putout/plugin-eslint: apply-dir-to-flat
  • 195ed1a66 root: @putout/eslint-flat v2.0.0
  • 2787a7c5a @putout/eslint: ignore await/yield
  • aef0bfe36 @putout/eslint-flat: add __dirname/import.meta.url

v35.22.4

1 week ago

🐞 fix

  • d376eb082 putout: always show ESLint parser error, even when 🐊Putout can parse

v35.22.3

1 week ago

πŸ”₯ feature

  • 6cb49e0b4 putout: cli: syntax lint: improve support of fn

v35.22.2

1 week ago

πŸ”₯ feature

  • 1e3ca1f22 putout: run 🐊 after fixing syntax errors
  • 807430337 eslint-plugin-putout: align-spaces: report
  • 08e77aec0 @putout/plugin-putout: convert-replace-with: report
  • 19908112b @putout/plugin-for-of: add-missing-star: delegate
  • 3f41dd7de @putout/plugin-react: apply-create-root: add
  • eb138c934 @putout/plugin-for-of: add-missing-star

v35.22.1

1 week ago

πŸ”₯ feature

  • 947c377ef putout: eslint.config.js: disable putout/convert-match-to-flat

v35.22.0

1 week ago

πŸ”₯ feature

  • 300976b97 putout: @putout/plugin-promises v15.0.0
  • 84f082b24 @putout/plugin-promises: drop support of 🐊 < 35
  • 6cb1598b8 putout: process-file: do not show ESLint parser errors when 🐊Putout can parse
  • 2b8b8be6c @putout/engine-parser: add ability to parse await without async
  • ca781d676 @putout/plugin-promises: add-missing-async: add

v35.21.1

1 week ago

πŸ”₯ feature

  • 9f6278963 putout: process-file: syntax

v35.21.0

1 week ago

🐊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

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

πŸ”₯ feature

  • 68404b101 putout: add ability to autofix syntax
  • 7367fd174 @putout/plugin-react: remove-useless-forward-ref: add
  • 522b92c5a @putout/plugin-apply-overrides: improve support of one-two arguments
  • d86f10109 @putout/plugin-react: remove-implicit-ref-return: add
  • 6064290d3 eslint-plugin-putout: long-properties-destructuring: exclude ImportDefaultSpecifier
  • 2d6890984 @putout/plugin-react: add

v35.20.1

1 week ago

🐞 fix

  • 44635b9f3 putout: config: eslint/apply-match-to-flat: disable for .eslintrc.js

πŸ”₯ feature

  • 4d75b9c9f putout: @putout/plugin-for-of v5.0.0
  • b1b9aa23b @putout/plugin-for-of: drop support of 🐊 < 35
  • dd29a5a0b @putout/plugin-for-of: for-each: exclude ConditionalExpression (coderaiser/minify#122)

v35.20.0

1 week ago

πŸ”₯ feature

  • 5581321ec putout: @putout/plugin-for-of v5.0.0
  • 45b0a13ce @putout/plugin-for-of: drop support of 🐊 < 35
  • 5057d632f @putout/plugin-for-of: for-each: exclude ConditionalExpression
  • 0d40f13b2 @putout/plugin-putout: add-store: add
  • 9d8e3c3cc @putout/plugin-apply-overrides: rm unused code
  • 6b8afd4c2 @putout/plugin-eslint-plugin: drop support of 🐊 < 35
  • 3a2ec5b50 @putout/eslint-plugin: update-ecma-version: add
  • 86c829a97 @putout/engine-loader: rules: overlap