Skip to content

Commit 83125bf

Browse files
Create .eslintrc.json
1 parent 480915c commit 83125bf

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.eslintrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"globals": {
7+
"CodeMirror": true,
8+
"Config": true,
9+
"FRAME": true,
10+
"Mousetrap": true,
11+
"signals": true,
12+
"UI": true
13+
},
14+
"extends": "eslint:recommended",
15+
"rules": {
16+
"indent": [
17+
"error",
18+
"tab",
19+
{
20+
"SwitchCase": 1
21+
}
22+
],
23+
"linebreak-style": [
24+
"error",
25+
"windows"
26+
],
27+
"quotes": [
28+
"error",
29+
"single"
30+
],
31+
"semi": [
32+
"error",
33+
"always"
34+
]
35+
}
36+
}

0 commit comments

Comments
 (0)