* Change editorconfig end_of_line to lf
* Running prettier with editorconfig:
npx prettier --write "{www/src,www/server}/**/*.{tsx,ts,jsx,js,json,scss}"
* Run prettier again after merging main
* Change to use single quotes in js/ts
* Run prettier again after changing to single quotes
* Add format command for those not running prettier in editor
* Format after resolving conflict
* Format after resolving conflicts
24 lines
380 B
INI
24 lines
380 B
INI
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.md, *.yml]
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.scss]
|
|
end_of_line = lf
|
|
|
|
[*.{js,jsx,ts,tsx}]
|
|
quote_type = single
|