2018-04-07 14:18:06 +02:00
|
|
|
{
|
2018-05-04 19:42:17 +02:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"graphql",
|
|
|
|
"compat"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"compat/compat": "error",
|
|
|
|
"react/jsx-wrap-multilines": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"declaration": "parens-new-line",
|
|
|
|
"assignment": "parens-new-line",
|
|
|
|
"return": "parens-new-line",
|
|
|
|
"arrow": "parens-new-line",
|
|
|
|
"condition": "parens-new-line",
|
|
|
|
"logical": "parens-new-line",
|
|
|
|
"prop": "parens-new-line"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-04-07 14:18:06 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true,
|
|
|
|
"modules": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2018-04-08 22:49:58 +02:00
|
|
|
"node": true,
|
|
|
|
"es6": true
|
2018-04-07 14:18:06 +02:00
|
|
|
},
|
2018-04-08 00:19:54 +02:00
|
|
|
"globals": {
|
|
|
|
"graphql": true
|
|
|
|
},
|
2018-04-09 19:43:51 +02:00
|
|
|
"settings": {
|
|
|
|
"polyfills": ["promises"]
|
2018-04-07 14:18:06 +02:00
|
|
|
}
|
|
|
|
}
|