forked from binary-com/binary-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
40 lines (40 loc) · 862 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
{
"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
},
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"import/no-extraneous-dependencies": 0,
"linebreak-style": 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
}
}
}