Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Add editorconfig to help avoid whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Oct 18, 2018
1 parent 83ad463 commit 051a5e8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
@@ -0,0 +1,21 @@
# 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 = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{package.json,*.yml}]
indent_style = space
indent_size = 2

[{*.txt,wp-config-sample.php}]
end_of_line = crlf

0 comments on commit 051a5e8

Please sign in to comment.