forked from deriv-com/binary-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 991 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
43
44
45
46
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"binary",
"plugin:import/errors",
"plugin:import/warnings"
],
"env": {
"es6": true,
"browser": true,
"jquery": true,
"jasmine": true
},
"globals": {
"Blockly": false,
"trackJs": false,
"jest": false,
"dataLayer": false
},
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"import/no-extraneous-dependencies": 0,
"linebreak-style": 0,
"key-spacing" : 0,
"camelcase": 0,
"no-param-reassign": 0,
"indent": 0,
"quotes": 0
},
"settings": {
"react": {
"createClass": "createReactClass", // Regex for Component Factory to use, default to "createReactClass"
"pragma": "React", // Pragma to use, default to "React"
"version": "15.0" // React version, default to the latest React stable release
}
}
}