forked from FNNDSC/ami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (40 loc) · 928 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
34
35
36
37
38
39
40
{
"extends": ["eslint:recommended", "./node_modules/eslint-config-google/index.js"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"THREE": false
},
"rules" :{
"space-in-parens": ["error", "never"],
"keyword-spacing": "error",
// tmporary for build to pass
"max-len": ["warn", 80],
"require-jsdoc": "warn",
"valid-jsdoc": "warn",
"guard-for-in": "warn",
"no-unused-vars": "warn",
"one-var": "warn",
"no-throw-literal": "warn",
"no-self-assign": "warn",
"no-console": "warn",
"new-cap": "warn",
"no-var": "warn",
"no-redeclare": "warn",
"camelcase": "warn",
"no-multi-str": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-empty": "warn",
"no-undef": "warn"
}
}