Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit c0e3c65

Browse files
author
Mathieu HAYS
committed
add .editorconfig to minize whitespace diffs
1 parent e1e1f49 commit c0e3c65

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[{package.json,.travis.yml}]
16+
; The indent size used in the `package.json` file cannot be changed
17+
; https://github.com/npm/npm/pull/3180#issuecomment-16336516
18+
indent_size = 2
19+
indent_style = space

0 commit comments

Comments
 (0)