Skip to content

Commit 2c1fc57

Browse files
committed
Remove duplicate settings handled by .editorconfig
1 parent e139a92 commit 2c1fc57

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

prettier.config.js

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
module.exports = {
2-
editorconfig: true,
2+
editorconfig: true, // Read .editorconfig
3+
// These settings are handled in .editorconfig:
4+
// tabWidth: 2, // indent_size = 2
5+
// useTabs: false, // indent_style = space
6+
// endOfLine: 'lf', // end_of_line = lf
37
semi: false, // default: true
48
singleQuote: true, // default: false
59
printWidth: 80, // default: 100
6-
tabWidth: 2,
7-
useTabs: false,
810
trailingComma: 'es5',
911
bracketSpacing: true,
10-
endOfLine: 'lf',
1112
overrides: [
1213
{
1314
files: '*.js',
@@ -17,16 +18,3 @@ module.exports = {
1718
},
1819
],
1920
}
20-
21-
/* .editorconfig
22-
23-
root = true
24-
25-
[*]
26-
indent_style = space
27-
indent_size = 2
28-
end_of_line = lf
29-
charset = utf-8
30-
trim_trailing_whitespace = true
31-
insert_final_newline = true
32-
*/

0 commit comments

Comments
 (0)