Skip to content

Commit 08793e2

Browse files
committed
housekeeping
1 parent 9b404c5 commit 08793e2

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 4
11+
12+
[*.{md,markdown}]
13+
# Allow <br/> from Markdown
14+
trim_trailing_whitespace = false
15+
indent_size = 2
16+
17+
[*.json]
18+
indent_size = 2

.eslintrc.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"ecmaVersion": 5,
3+
"sourceType": "module",
4+
"impliedStrict": true,
5+
"ecmaFeatures":{},
6+
"env":{
7+
"node": true,
8+
"browser": true
9+
},
10+
"extends":"eslint:recommended",
11+
"rules":{
12+
"semi": [2, "always"],
13+
"indent": ["error"]
14+
}
15+
}

0 commit comments

Comments
 (0)