Skip to content

Instantly share code, notes, and snippets.

@mignonstyle
Last active November 23, 2016 16:43
Show Gist options
  • Save mignonstyle/2ee561ad078f264876469aa6180ad229 to your computer and use it in GitHub Desktop.
Save mignonstyle/2ee561ad078f264876469aa6180ad229 to your computer and use it in GitHub Desktop.
.editorconfig
# 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/
# Author: Mignon Style
# version: 1.1
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
[*.css]
indent_style = tab
indent_size = 4
[*.php]
indent_style = tab
indent_size = 4
[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 4
[{*.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