forked from SUI-Components/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc.js
22 lines (22 loc) · 873 Bytes
/
.prettierrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
/* Include parentheses around a sole arrow function parameter. */
arrowParens: 'avoid',
/* Print spaces between brackets in object literals. */
bracketSpacing: false,
/* Put the > of a multi-line JSX element at the end of the last line instead of being alone on the next line */
jsxBracketSameLine: false,
/* Support optional chaining new ES feature -> ? */
optionalChaining: true,
/* Specify the line length that the printer will wrap on. */
printWidth: 80,
/* Print semicolons at the ends of statements. */
semi: false,
/* Use single quotes instead of double quotes. */
singleQuote: true,
/* Specify the number of spaces per indentation-level. */
tabWidth: 2,
/* Print trailing commas wherever possible when multi-line. */
trailingComma: 'none',
/* Indent lines with tabs instead of spaces. */
useTabs: false
}