Skip to content

Commit

Permalink
Create .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsridharan authored May 22, 2019
1 parent 74b56fa commit ded1d96
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.txt]
trim_trailing_whitespace = false

[*.{md, json, yml}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

0 comments on commit ded1d96

Please sign in to comment.