Skip to content

Commit

Permalink
Merge pull request #1067 from ntwb/fix/editorconfig-json
Browse files Browse the repository at this point in the history
EditorConfig: Relax 2 space indentation rule to only the `package.json
  • Loading branch information
ntwb committed Jul 10, 2017
2 parents c29f11f + 9c12e12 commit 0f578ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

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

Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"require-dev": {
"squizlabs/php_codesniffer": "2.9.x",
"wp-coding-standards/wpcs": "dev-develop"
},
"scripts": {
"lint": "phpcs",
"post-install-cmd": [
"phpcs --config-set installed_paths ../../wp-coding-standards/wpcs/"
]
}
"require-dev": {
"squizlabs/php_codesniffer": "2.9.x",
"wp-coding-standards/wpcs": "dev-develop"
},
"scripts": {
"lint": "phpcs",
"post-install-cmd": [
"phpcs --config-set installed_paths ../../wp-coding-standards/wpcs/"
]
}
}

0 comments on commit 0f578ea

Please sign in to comment.