Skip to content

Commit 90f4f6c

Browse files
committed
chore(styles): Setup eslint and prettier
1 parent 1a25c82 commit 90f4f6c

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.editorconfig

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

.eslintrc.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2020": true,
5+
"node": true
6+
},
7+
"extends": ["eslint:recommended", "prettier"],
8+
"parserOptions": {
9+
"ecmaVersion": 11,
10+
"sourceType": "module"
11+
},
12+
"rules": {}
13+
}

0 commit comments

Comments
 (0)