LP1838136: .editorconfig matches current practices
authorJane Sandberg <sandbej@linnbenton.edu>
Sat, 27 Jul 2019 13:27:50 +0000 (06:27 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Sat, 3 Aug 2019 15:48:08 +0000 (11:48 -0400)
This commit allows .editorconfig-enabled IDEs to easily adhere to
these best practices:
https://wiki.evergreen-ils.org/doku.php?id=dev:angular_dev_best_practices

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/.editorconfig

index 6e87a00..db9d9ab 100644 (file)
@@ -4,10 +4,15 @@ root = true
 [*]
 charset = utf-8
 indent_style = space
-indent_size = 2
 insert_final_newline = true
 trim_trailing_whitespace = true
 
-[*.md]
+[*.{ts,css}]
+indent_size = 4
+
+[*.html]
+indent_size = 2
+
+[*.{adoc,md}]
 max_line_length = off
 trim_trailing_whitespace = false