-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
[{.jshintrc,*.json,*.yml}] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
indent_style = space | ||
indent_size = 2 | ||
|
||
[{*.txt,wp-config-sample.php}] | ||
This comment has been minimized.
Sorry, something went wrong.
GaryJones
Contributor
|
||
end_of_line = crlf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Normalize text file line endings to LF on checkin | ||
# and prevent conversion to CRLF on checkout. | ||
* text=auto eol=lf | ||
|
||
# Text files. | ||
*.css text | ||
*.dist text | ||
*.js text | ||
*.json text | ||
*.md text | ||
*.php text | ||
*.po text | ||
*.pot text | ||
*.xml text | ||
|
||
# Binary files. | ||
*.eot binary | ||
*.gif binary | ||
*.ico binary | ||
*.jpg binary | ||
*.mo binary | ||
*.png binary | ||
*.ttf binary | ||
*.woff binary | ||
*.woff2 binary |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/node_modules/ | ||
/vendor/ | ||
package-lock.json | ||
composer.lock | ||
|
||
.vs-code/ | ||
This comment has been minimized.
Sorry, something went wrong.
GaryJones
Contributor
|
||
.idea/ |
http://develop.svn.wordpress.org/trunk/.editorconfig
JSON is now a tab of 4, so only YML needs to be specified here, if you're using it.