Skip to content

Instantly share code, notes, and snippets.

@davidlonjon
Created September 25, 2016 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davidlonjon/7ac07837e742b8628920ecbadae9861c to your computer and use it in GitHub Desktop.
Save davidlonjon/7ac07837e742b8628920ecbadae9861c to your computer and use it in GitHub Desktop.
.editorconfig for WordPress
# 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
[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2
[{*.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