Skip to content

Commit 39344e0

Browse files
chore(lint): create .eslintrc
1 parent 3fce9df commit 39344e0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.eslintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"browser": true
5+
},
6+
"parserOptions": {
7+
"sourceType": "module"
8+
},
9+
"extends": "eslint:recommended",
10+
"rules": {
11+
"indent": ["error", 2, { "SwitchCase": 1 }],
12+
"linebreak-style": ["error", "unix"],
13+
"quotes": ["error", "single"],
14+
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
15+
"no-cond-assign": 2
16+
}
17+
}

0 commit comments

Comments
 (0)