Skip to content

Commit d314406

Browse files
kopporclementdessoude
authored andcommitted
Add information on how to change indent
1 parent b56e69f commit d314406

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,24 @@ You can directly import the config into IntelliJ Idea for instance:
131131

132132
![Import Checkstyle configuration](./docs/checkstyle/import-checkstyle-configuration.gif)
133133

134+
## Indent configuration
135+
136+
In `.prettierrc.yaml`, you can configure the indent:
137+
138+
For using four spaces:
139+
140+
```yaml
141+
tabWidth: 4
142+
```
143+
144+
For using tabs:
145+
146+
```yaml
147+
useTabs: true
148+
```
149+
150+
For more details see <https://prettier.io/docs/en/configuration.html>.
151+
134152
## Contributing
135153
136154
Contributions are very welcome.

0 commit comments

Comments
 (0)