- Use space 4
- Single quote
Add all above file to your root project, need prettier extension and EditorConfig extension to be installed
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 4 |
node_modules | |
dist |
{ | |
"printWidth": 140, | |
"tabWidth": 4, | |
"semi": true, | |
"singleQuote": true, | |
"quoteProps": "as-needed", | |
"jsxSingleQuote": false, | |
"trailingComma": "all", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": true, | |
"arrowParens": "always", | |
"proseWrap": "never" | |
} |