Skip to content

Commit

Permalink
风格: 统一代码风格配置
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Apr 30, 2024
1 parent 1bfb11d commit d395c74
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.{vue,js,scss}]
indent_size = 2
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml,xml,xml.dist}]
indent_size = 2

0 comments on commit d395c74

Please sign in to comment.