-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
28 lines (23 loc) · 691 Bytes
/
.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
28
# based on https:/guardian/configs/blob/main/.editorconfig
; top-most EditorConfig file
root = true
[*]
# For [accessibility reasons](https://alexandersandberg.com/tabs-for-accessibility/)
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[package.json]
# `npm` autoformats `package.json` every time you install a new dependency.
indent_size = 2
# Because `yml`
[*.yml]
indent_style = space
indent_size = 2
[*.md]
# Using tabs to indent pre-formatted code in markdown makes the spacing too extreme
# when rendered on GitHub, so we revert back to spaces here.
indent_style = space
indent_size = 4