Skip to content

Commit

Permalink
Introduce an .editorconfig.
Browse files Browse the repository at this point in the history
Follow up on 5531228, which removed
Prettier, with some simple rules in a format that's understood by most
editors and some opinionated code formatters (like Prettier).

This should help keep less obvious things - like tabs vs spaces and CRLF vs
LF - from working their way into the codebase, but stops short of making
more destructive formatting changes.
  • Loading branch information
abernix committed Sep 16, 2019
1 parent bc73d7b commit 29e563d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80

0 comments on commit 29e563d

Please sign in to comment.