forked from phenotips/open-pedigree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 855 Bytes
/
.eslintrc
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
{
"env": {
"browser": true,
"es6": true,
"prototypejs": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals": {
"browser": true,
"editor": true,
"PhenoTips": true,
"Raphael": true,
"XWiki": true
},
"rules": {
"brace-style": ["warn", "1tbs"],
"curly": ["warn"],
"indent": [ "warn", 2 ],
"linebreak-style": [ "warn", "unix" ],
"quotes": [ "warn", "single" ],
"semi": [ "warn", "always" ],
"no-console": "off",
"no-constant-condition": "warn",
"no-empty": "warn",
"no-inner-declarations": "warn",
"no-redeclare": "warn",
"no-unused-vars": [ "warn", { "args": "none" } ],
"no-useless-escape": "warn"
}
}