Add notes about language-specific config
MODIFY
website/src/pages/configuration.mdx
website/src/pages/configuration.mdx
@@ -103,6 +103,8 @@ Example:
## `formatter`
+These options apply to all languages. There are additional language-specific formatting options below.
+
### `formatter.enabled`
Enables Rome's formatter
@@ -143,6 +145,8 @@ How many characters can be written on a single line.
## `javascript`
+These options apply only to JavaScript (and TypeScript) files.
+
### `javascript.formatter.quoteStyle`
The type of quote used when representing string literals. It can be `single` or `double`.

MODIFY
website/src/pages/formatter/index.mdx
website/src/pages/formatter/index.mdx
@@ -20,6 +20,8 @@ The language agnostic options supported by Rome are:
- tab width (default: `2`): The number of spaces per indention level
- line width (default: `80`): The column width at which Rome wraps code
+Other formatting options are available for specific languages as well. See the [configuration](/configuration) options for details.
+
## Use the formatter with the CLI
You can start by running the CLI with the `--help` flag:

Add notes about language-specific config (#3730)

Co-authored-by: Micha Reiser <micha@reiser.io>