Prettier
Run Prettier to format all incoming JavaScript, TypeScript, Flow, JSX, JSON, CSS, SCSS, Less, HTML, Vue, Angular, GraphQL, Markdown and YAML code.
Configuration — deepsource.toml
deepsource.toml
This section covers configuration specific to the Prettier
transformer. Please make sure to read the general configuration guide first.
name
Type: String
Presence: mandatory
Description: Shortcode of this transformer.
Example:
name = "prettier"
enabled
Type: Boolean
Presence: optional
Description: Toggle whether this transformer should be run.
Example:
enabled = true
Updated 3 months ago