forked from kisallioppiminen/kisallioppiminen.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
42 lines (41 loc) · 801 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
"env": {
"browser": true,
"jquery": true,
"es6": true,
"jasmine": true
},
"globals": {
"backend": true,
"view": true,
"Session": true,
"module": true,
"Scoreboard": true,
"sorttable": true,
"Exercises": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"no-var": "error",
"no-console": 0,
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
},
};