Skip to content

Commit 25283b5

Browse files
committed
Add editor config files
1 parent 3a13ce6 commit 25283b5

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.elm]
15+
end_of_line = lf

prettier.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* eslint-env node*/
2+
'use strict';
3+
4+
module.exports = {
5+
printWidth: 80,
6+
useTabs: true,
7+
tabWidth: 4,
8+
trailingComma: 'es5',
9+
singleQuote: true,
10+
};

0 commit comments

Comments
 (0)