You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(code-formatter): Implement new code formatter (#2268)
- new formatter activated with `experimental` flag in CLI and language service
- support for the previous `tabSize`, `endWithNewLine`, and `wrapLineLength` options + new `wrapLineLength` option
- no support for other options
Co-authored-by: Ido Rosenthal <[email protected]>
Copy file name to clipboardExpand all lines: packages/cli/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -303,6 +303,12 @@ After installing `@stylable/cli`, the `stc-format` command will be available, ru
303
303
|`--help`|`h`| Show help |`boolean`||
304
304
|`--version`|`v`| Show version number |`boolean`||
305
305
306
+
### Experimental formatter
307
+
308
+
A new experimental formatter is available using the `--experimental` argument.
309
+
310
+
Currently not all configuration is accepted by the new formatter, the supported formatting options arguments are `--endWithNewline`, `--indentSize`, and a new `--wrapLineLength`.
0 commit comments