-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.editorconfig
27 lines (22 loc) · 1.1 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
# This helps editors create code that's already formatted with correct whitespace (Mostly, tab key => inserts 2 spaces)
# You should still setup and configure eslint and prettier plugins
# See the "Editor/ide format-on-save" section of the README: https://github.com/TextUsBiz/tesseract/blob/master/README.md#editoride-format-on-save
# Stop the editor from looking for .editorconfig files in the parent directories
root = true
# Copied from: https://prettier.io/docs/en/configuration.html#editorconfig
[*]
# Non-configurable Prettier behaviors:
# (changing these can cause conflicts with prettier)
charset = utf-8
insert_final_newline = true
# Prettier won’t trim trailing whitespace inside template strings, but your editor might.
# Ideally we don't enable/disable this, and let prettier/editors try to do the smart thing.
# trim_trailing_whitespace = true
# Match prettier defaults
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length = 80