Skip to content

Commit

Permalink
Add a few more rules to the EditorConfig, including language-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilhelm-godaddy committed Jun 27, 2019
1 parent 6f646c4 commit aad2daf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@ charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120
indent_style = space
indent_size = 4

[*.java]
indent_size = 2

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[Makefile]
indent_style = tab

[*.bat]
indent_style = tab

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

0 comments on commit aad2daf

Please sign in to comment.