-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: copy editorconfig from frappe
- Loading branch information
1 parent
4e2402d
commit 209955d
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Root editor config file | ||
root = true | ||
|
||
# Common settings | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# python, js indentation settings | ||
[{*.py,*.js,*.vue,*.css,*.scss,*.html}] | ||
indent_style = tab | ||
indent_size = 4 | ||
max_line_length = 99 | ||
|
||
# JSON files - mostly doctype schema files | ||
[{*.json}] | ||
insert_final_newline = false | ||
indent_style = space | ||
indent_size = 2 |