Skip to content

Commit 7e3c85a

Browse files
committed
chore: use tabs instead of spaces
1 parent fb8b101 commit 7e3c85a

File tree

1 file changed

+77
-77
lines changed

1 file changed

+77
-77
lines changed

Diff for: .prettierrc.js

+77-77
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
11
module.exports = {
2-
/**
3-
* Include parentheses around a sole arrow function parameter.
4-
*
5-
* avoid - Omit parens when possible. Example: `x => x`
6-
* always - Always include parens. Example: `(x) => x`
7-
*/
8-
arrowParens: 'avoid',
2+
/**
3+
* Include parentheses around a sole arrow function parameter.
4+
*
5+
* avoid - Omit parens when possible. Example: `x => x`
6+
* always - Always include parens. Example: `(x) => x`
7+
*/
8+
arrowParens: 'avoid',
99

10-
/**
11-
* Print spaces between brackets.
12-
*
13-
* Type: boolean
14-
*/
15-
bracketSpacing: true,
10+
/**
11+
* Print spaces between brackets.
12+
*
13+
* Type: boolean
14+
*/
15+
bracketSpacing: true,
1616

17-
/**
18-
* Print (to stderr) where a cursor at the given position would move to after formatting.
19-
* This option cannot be used with --range-start and --range-end.
20-
*
21-
* Type: integer
22-
*/
23-
cursorOffset: -1,
17+
/**
18+
* Print (to stderr) where a cursor at the given position would move to after formatting.
19+
* This option cannot be used with --range-start and --range-end.
20+
*
21+
* Type: integer
22+
*/
23+
cursorOffset: -1,
2424

25-
/**
26-
* Which end of line characters to apply.
27-
*
28-
* auto - Maintain existing (mixed values within one file are normalised by looking at what's used after the first line)
29-
* lf - Line Feed only (\n), common on Linux and macOS as well as inside git repos
30-
* crlf - Carriage Return + Line Feed characters (\r\n), common on Windows
31-
* cr - Carriage Return character only (\r), used very rarely
32-
*/
33-
endOfLine: 'auto',
25+
/**
26+
* Which end of line characters to apply.
27+
*
28+
* auto - Maintain existing (mixed values within one file are normalised by looking at what's used after the first line)
29+
* lf - Line Feed only (\n), common on Linux and macOS as well as inside git repos
30+
* crlf - Carriage Return + Line Feed characters (\r\n), common on Windows
31+
* cr - Carriage Return character only (\r), used very rarely
32+
*/
33+
endOfLine: 'auto',
3434

35-
/**
36-
* How to wrap prose.
37-
*
38-
* always - Wrap prose if it exceeds the print width.
39-
* never - Do not wrap prose.
40-
* preserve - Wrap prose as-is.
41-
*/
42-
proseWrap: 'preserve',
35+
/**
36+
* How to wrap prose.
37+
*
38+
* always - Wrap prose if it exceeds the print width.
39+
* never - Do not wrap prose.
40+
* preserve - Wrap prose as-is.
41+
*/
42+
proseWrap: 'preserve',
4343

44-
/**
45-
* Change when properties in objects are quoted.
46-
*
47-
* as-needed - Only add quotes around object properties where required.
48-
* consistent - If at least one property in an object requires quotes, quote all properties.
49-
* preserve - Respect the input use of quotes in object properties.
50-
*/
51-
quoteProps: 'as-needed',
44+
/**
45+
* Change when properties in objects are quoted.
46+
*
47+
* as-needed - Only add quotes around object properties where required.
48+
* consistent - If at least one property in an object requires quotes, quote all properties.
49+
* preserve - Respect the input use of quotes in object properties.
50+
*/
51+
quoteProps: 'as-needed',
5252

53-
/**
54-
* Print semicolons.
55-
*
56-
* Type: boolean
57-
*/
58-
semi: true,
53+
/**
54+
* Print semicolons.
55+
*
56+
* Type: boolean
57+
*/
58+
semi: true,
5959

60-
/**
61-
* Use single quotes instead of double quotes.
62-
*
63-
* Type: boolean
64-
*/
65-
singleQuote: true,
60+
/**
61+
* Use single quotes instead of double quotes.
62+
*
63+
* Type: boolean
64+
*/
65+
singleQuote: true,
6666

67-
/**
68-
* Number of spaces per indentation level.
69-
*
70-
* Type: integer
71-
*/
72-
tabWidth: 4,
67+
/**
68+
* Number of spaces per indentation level.
69+
*
70+
* Type: integer
71+
*/
72+
tabWidth: 4,
7373

74-
/**
75-
* Print trailing commas wherever possible when multi-line.
76-
*
77-
* none - No trailing commas.
78-
* es5 - Trailing commas where valid in ES5 (objects, arrays, etc.)
79-
* all - Trailing commas wherever possible (including function arguments).
80-
*/
81-
trailingComma: 'all',
74+
/**
75+
* Print trailing commas wherever possible when multi-line.
76+
*
77+
* none - No trailing commas.
78+
* es5 - Trailing commas where valid in ES5 (objects, arrays, etc.)
79+
* all - Trailing commas wherever possible (including function arguments).
80+
*/
81+
trailingComma: 'all',
8282

83-
/**
84-
* Indent with tabs instead of spaces.
85-
*
86-
* Type: boolean
87-
*/
88-
useTabs: false,
83+
/**
84+
* Indent with tabs instead of spaces.
85+
*
86+
* Type: boolean
87+
*/
88+
useTabs: true,
8989
};

0 commit comments

Comments
 (0)