mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-10 00:31:51 +00:00
Update formatting configurations
EditorConfig applies to all files, LF is enforced instead of CRLF, Prettier configuration moved to JSON, properties are inherited from EditorConfig.
This commit is contained in:
parent
e0fd899cb8
commit
1d26ba67ea
@ -1,7 +1,7 @@
|
||||
root = true
|
||||
|
||||
[{src, translations}/*]
|
||||
end_of_line = crlf
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
9
.prettierrc
Normal file
9
.prettierrc
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"arrowParens": "avoid",
|
||||
"bracketSpacing": true,
|
||||
"printWidth": 110,
|
||||
"quoteProps": "consistent",
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
# .prettierrc or .prettierrc.yaml
|
||||
trailingComma: "es5"
|
||||
tabWidth: 4
|
||||
semi: true
|
||||
singleQuote: false
|
||||
printWidth: 110
|
||||
useTabs: false
|
||||
quoteProps: "consistent"
|
||||
bracketSpacing: true
|
||||
arrowParens: avoid
|
||||
endOfLine: auto
|
||||
Loading…
Reference in New Issue
Block a user