New Transformers: Prettier and StandardJS

To complement the DeepSource JavaScript analyzer, we have added support for the popular code formatters in the JS ecosystem:

  1. StandardJS: invokes standard --fix on changed JS and JSX files.
  2. Prettier: invokes prettier --write on changed .js files. It also formats JSX, TypeScript, CSS and many other file formats.

To enable these transformers on your repository, add the following snippet to your .deepsource.toml:

name = "standardjs"
enabled = true


name = "prettier"
enabled = true

More details can be found in the docs for Prettier and StandardJS.