Skip to content

Commit

Permalink
Add an editorconfig file with basic rules for editors (#1625)
Browse files Browse the repository at this point in the history
The configured rules help contributors respect the project styles when
their editor support this (which most editors do either natively or with
a plugin nowadays), even if their own editor configuration has different
defaults.
the configured rules for now are:

- use 2 spaces for indentation
- don't trim trailing whitespaces in HRX files, as some specs rely on
  them
  • Loading branch information
stof authored Mar 3, 2021
1 parent 03e5e47 commit bd44ac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 2

[*.hrx]
trim_trailing_whitespace = false

0 comments on commit bd44ac5

Please sign in to comment.