1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 22:45:01 +00:00
mon-entreprise/.editorconfig

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
593 B
INI
Raw Normal View History

2020-04-28 15:14:20 +02:00
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
# We shall not define indent_size ⬇️ when using tabs.
# tab_width doesn't make much sense as it can be left to the reader to decide.
indent_style = tab
insert_final_newline = true
max_line_length = 80
2020-04-28 15:14:20 +02:00
[**.{js,jsx,ts,tsx}]
indent_size = 2
[**.{yml,yaml}]
# Spaces are mandatory for yaml files:
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
[package.json]
# it is painful to write scripts with a fixed max_line_length
max_line_length=0