Skip to content

Commit

Permalink
fix: js indent 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Feb 22, 2024
1 parent 97a78b0 commit 7c1b838
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ charset = utf-8
end_of_line = LF
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space

[*.md]
trim_trailing_whitespace = false
max_line_length = 80

[*.{yml,php,html,twig,js}]
[*.{yml,php,html,twig}]
indent_size = 4

[*.{js}]
indent_size = 2

[COMMIT_EDITMSG]
max_line_length = 0
5 changes: 4 additions & 1 deletion demo/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ indent_style = space
trim_trailing_whitespace = false
max_line_length = 80

[*.{php,html,twig,js}]
[*.{yml,php,html,twig}]
indent_size = 4

[*.{js}]
indent_size = 2

[COMMIT_EDITMSG]
max_line_length = 0

0 comments on commit 7c1b838

Please sign in to comment.