Skip to content

Commit

Permalink
Revert .editorconfig (coder#4640)
Browse files Browse the repository at this point in the history
I have been wondering why my editor is not defaulting to two spaces and
it is because indent_size was removed from the * block.

I am not sure why we would need a separate block for package.json and
yaml anyway since they use the same settings as the rest of our code.

I would revert the commit but this change was made in a larger commit
with a bunch of unrelated changes.
  • Loading branch information
code-asher authored Dec 16, 2021
1 parent ec3d997 commit c27dbd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@ root = true
[*]
indent_style = space
trim_trailing_whitespace = true

# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,package.json}]
indent_style = space
indent_size = 2

0 comments on commit c27dbd0

Please sign in to comment.