Skip to content

Commit aaebb47

Browse files
committed
Add editor config
1 parent 3886cbe commit aaebb47

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.{ts,js}]
11+
indent_style = space
12+
indent_size = 4
13+
charset = utf-8
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ cd javascript
124124

125125
## Formatting
126126

127-
Run `npm run format` or install an editor plugin like https://github.com/prettier/prettier-vscode.
127+
Run `npm run format` or install an editor plugin like https://github.com/prettier/prettier-vscode and https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
128128

129129
## Linting
130130

0 commit comments

Comments
 (0)