Skip to content

Commit

Permalink
Update editorconfig to avoid unwanted trailing newlines in JSON files
Browse files Browse the repository at this point in the history
Add a stanza to the editorconfig for JSON files to disable the
trailing newline. This is important for the message bundles to
avoid unexpected PR build failures when checking for diffs after
running the string extraction test.
  • Loading branch information
AlanGreene authored and tekton-robot committed Jan 29, 2021
1 parent da68c00 commit 18cfc45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ trim_trailing_whitespace = true
indent_style = tab
indent_size = 8

[*.json]
insert_final_newline = false

[*.md]
max_line_length = off
trim_trailing_whitespace = false

0 comments on commit 18cfc45

Please sign in to comment.