-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.prettierrc.js
executable file
·37 lines (26 loc) · 1.07 KB
/
.prettierrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// module.exports = {
// // Specify the line length that the printer will wrap on.
// printWidth: 100,
// // Specify the number of spaces per indentation-level.
// tabWidth: 2,
// // Use spaces instead of tabs.
// useTabs: false,
// // Print trailing commas wherever possible when multi-line.
// trailingComma: 'all',
// // Print semicolons at the ends of statements.
// semi: true,
// // Use single quotes instead of double quotes.
// singleQuote: true,
// // Print spaces between brackets in object literals.
// bracketSpacing: true,
// // 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,
// // Require a newline at the end of files.
// endOfLine: 'auto',
// // Specify the formatting rules for JSX.
// jsxSingleQuote: false,
// // Controls the printing of trailing commas wherever possible in JSX multiline elements.
// jsxTrailingComma: 'none',
// // Print spaces between the braces in object literals.
// objectCurlySpacing: true,
// };