-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (38 loc) · 855 Bytes
/
.eslintrc.js
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
module.exports = {
"env": {
"node": true,
"es6": true,
"browser": true,
},
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"import",
"graphql"
],
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"globals": {
"__DEV__": true
},
"rules": {
"graphql/template-strings": ['error', {
env: 'relay',
schemaJson: require('./schema.graphql.json'),
}],
"react/jsx-quotes": 0,
"react/jsx-indent-props": 0,
"jsx-quotes": [2, "prefer-double"],
"no-trailing-spaces": 0,
"import/no-unresolved": [2, {commonjs: true, amd: true}],
"no-underscore-dangle": 0,
"arrow-body-style": 0,
"import/no-extraneous-dependencies": 0,
"import/imports-first": 0,
"react/jsx-filename-extension": 0,
"react/prefer-stateless-function": 0
}
};