Skip to content

Commit

Permalink
style: Update format settings
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed May 6, 2022
1 parent 432e8f1 commit 65e52b8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.{json,yml}]
indent_size = 2
16 changes: 16 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"printWidth": 88,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"overrides": [
{
"files": "*.{json,yml}",
"options": {
"tabWidth": 2
}
}
]
}
16 changes: 0 additions & 16 deletions .prettierrc.js

This file was deleted.

0 comments on commit 65e52b8

Please sign in to comment.