-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.prettierrc.js
45 lines (32 loc) · 1.11 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
38
39
40
41
42
43
44
45
// module.exports = {
// // Print spaces between brackets in object literals.
// bracketSpacing: true,
// // Carriage Return + Line Feed characters (\r\n), common on Windows
// endOfLine: "crlf",
// // Specify the line length that the printer will wrap on.
// printWidth: 120,
// // Print semicolons at the ends of statements.
// semi: true,
// // Use single quotes instead of double quotes.
// singleQuote: false,
// //Specify the number of spaces per indentation-level.
// tabWidth: 4,
// // No trailing commas.
// trailingComma: "none",
// };
module.exports = {
// Print spaces between brackets in object literals.
bracketSpacing: true,
// Carriage Return + Line Feed characters (\r\n), common on Windows
endOfLine: "crlf",
// Specify the line length that the printer will wrap on.
printWidth: 120,
// Print semicolons at the ends of statements.
semi: true,
// Use single quotes instead of double quotes.
singleQuote: false,
//Specify the number of spaces per indentation-level.
tabWidth: 4,
// No trailing commas.
trailingComma: "none"
};