Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs.users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ In addition to `prettier`'s default settings, our preconfigured settings tells `
- Add trailing comma to the last item in an object
- End every single code statement with a semicolon
- Ensure that every file ends with exactly one empty line
- Allow e.g. import statements, function arguments etc. to be on straight line without breaking (only wrap to next line if printWidth exceeds 350)
- Add spaces between brackets in object literals, imports, and similar structures

````
{
Expand All @@ -56,6 +58,8 @@ In addition to `prettier`'s default settings, our preconfigured settings tells `
trailingComma: 'all',
semi: true,
endOfLine: 'lf',
printWidth: 350,
bracketSpacing: true,
};
````

Expand Down
2 changes: 2 additions & 0 deletions prettier.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export default {
trailingComma: 'all',
semi: true,
endOfLine: 'lf',
printWidth: 350,
bracketSpacing: true,
};
Loading