mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
Add .editorconfig file and make Prettier use it
This commit is contained in:
parent
1f733e3e75
commit
50de197de2
2 changed files with 14 additions and 1 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# http://editorconfig.org/
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Formatting options. Note: Prettier also uses some of these.
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
max_line_length = 100
|
||||
|
|
@ -69,7 +69,6 @@
|
|||
"audit": "nsp check --preprocessor yarn"
|
||||
},
|
||||
"prettier": {
|
||||
"printWidth": 100,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"proseWrap": "always"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue