(Alpha) JavaScript Rule Documentation


There are fewer updates in this alpha release as we’ve been focused on research and development of our core engine.

As well as a couple of new JavaScript rules and a fix for an edge case in the Python rule simplify-fstring-formatting, we’ve released reference documentation for every JavaScript rule that ships with Sourcery - see for instance documentation for the new rule dont-reassign-caught-exceptions at https://docs.sourcery.ai/Reference/Default-Rules/javascript-rules/dont-reassign-caught-exceptions/

Also new in this release is a command in VSCode for Sourcery called “Search and Replace across workspace” - this will open a panel where you can use our pattern matching and replacing syntax to apply a one-off rule. This feature is in early stages of development - please reach out at hello@sourcery.ai if you are interested in learning more.

Full Changelog

Added

Fixed