Skip to content

Commit

Permalink
Use tabs for indentation in build tools JSON files per WP Coding Stan…
Browse files Browse the repository at this point in the history
…dards (#4419)

* chore: Update `.editorconfig` to match WordPress' upstream

* chore: Use tabs for indentation in `package.json` and `package-lock.json` files

* chore: Use tabs for indentation in `.eslines.json` file

* chore: Use tabs for indentation in `composer.lock` file
  • Loading branch information
ntwb authored Jan 12, 2018
1 parent 9212841 commit 27e6fa8
Show file tree
Hide file tree
Showing 5 changed files with 11,993 additions and 11,988 deletions.
15 changes: 10 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# http://editorconfig.org
# 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

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

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

Expand Down
20 changes: 10 additions & 10 deletions .eslines.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"branches": {
"default": ["downgrade-unmodified-lines"]
},
"processors": {
"downgrade-unmodified-lines": {
"remote": "origin/master",
"rulesNotToDowngrade": ["no-unused-vars"]
}
}
}
"branches": {
"default": ["downgrade-unmodified-lines"]
},
"processors": {
"downgrade-unmodified-lines": {
"remote": "origin/master",
"rulesNotToDowngrade": ["no-unused-vars"]
}
}
}
Loading

0 comments on commit 27e6fa8

Please sign in to comment.