Skip to content

putout v22.3.0

Choose a tag to compare

@coderaiser coderaiser released this 30 Nov 14:02
· 12799 commits to master since this release

Config validation

Just added config validation, so if your .putout.json has something like this:

{
    "hello": "world"
}

You will see error message:

🐊 .putout.json: hello: must NOT have additional properties

And 🐊Putout exits with exit code 12 (INVALID_CONFIG).

🔥 feature

  • (putout) add config validation
  • (@putout/plugin-remove-empty-pattern) improve support of nested destructuring
  • (@putout/plugin-tape) add-stop-all: add support of mockRequire
  • (@putout/plugin-remove-unused-variables) improve support of nested destructuring