forked from RobotWebTools/ros3djs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 902 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
41
42
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"mocha": true
},
"globals": {
"EventEmitter2": true,
"THREE": true,
"ROS3D": true,
"ROSLIB": true,
"requestAnimationFrame": true,
"cancelAnimationFrame": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"ecmaVersion": 5,
"sourceType": "module"
},
"rules": {
"semi": ["warn", "always"],
"curly": "error",
"eqeqeq": "error",
"wrap-iife": ["error", "any"],
"no-use-before-define": "off",
"new-cap": "error",
"no-caller": "error",
"dot-notation": "off",
"no-undef": "error",
"no-cond-assign": "off",
"no-eq-null": "off",
"no-proto": "off",
"no-console": "off",
"no-unused-vars": "off",
"strict": "off",
"quotes": ["error", "single"],
"linebreak-style": "error"
}
}