Skip to content

Instantly share code, notes, and snippets.

@JayOkey
Created June 8, 2018 09:49
Show Gist options
  • Save JayOkey/efb1be83c587aea041bc30613c89df42 to your computer and use it in GitHub Desktop.
Save JayOkey/efb1be83c587aea041bc30613c89df42 to your computer and use it in GitHub Desktop.
.editorconfig style to comply with WordPress Coding Standards
# 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
[*.yml]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[{*.txt,wp-config-sample.php}]
end_of_line = crlf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment