generated from ianlewis/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
32 lines (26 loc) · 777 Bytes
/
.editorconfig
File metadata and controls
32 lines (26 loc) · 777 Bytes
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
29
30
31
32
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Files should be formatted in utf-8 by default.
charset = utf-8
# set to true to remove any whitespace characters preceding newline characters
# and false to ensure it doesn't.
trim_trailing_whitespace = true
# tab-width of 4 is recommended for Markdown files.
[*.md]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
# Matches config files like package.json.
[{*.json,*.yml,*.yaml}]
indent_style = space
indent_size = 2
# JavaScript and TypeScript files
[{*.js,*.cjs,*.mjs,*.jsx,*.mjsx,*.ts,*.cts,*.mts,*.tsx,*.mtsx}]
indent_style = space
indent_size = 2