2017-07-13 23:28:45 +02:00
|
|
|
{
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
2017-11-01 17:47:20 +01:00
|
|
|
"flowtype",
|
|
|
|
"jest"
|
2017-07-13 23:28:45 +02:00
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"google",
|
|
|
|
"plugin:react/recommended",
|
2017-11-01 17:47:20 +01:00
|
|
|
"plugin:flowtype/recommended",
|
|
|
|
"plugin:jest/recommended"
|
2017-07-13 23:28:45 +02:00
|
|
|
],
|
2017-09-02 21:20:59 +02:00
|
|
|
"parser": "babel-eslint",
|
2017-07-13 23:28:45 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaVersion": 7,
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"impliedStrict": true,
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2017-11-01 17:47:20 +01:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2017-07-13 23:28:45 +02:00
|
|
|
},
|
2018-01-28 18:28:03 +01:00
|
|
|
"globals": {
|
|
|
|
"__APP_VERSION__": true
|
|
|
|
},
|
2017-07-13 23:28:45 +02:00
|
|
|
"rules": {
|
2018-04-30 18:43:33 +02:00
|
|
|
"no-useless-escape": 2,
|
2017-07-13 23:28:45 +02:00
|
|
|
"handle-callback-err": 2,
|
|
|
|
"no-fallthrough": 2,
|
|
|
|
"no-new-require": 2,
|
2018-04-30 19:01:51 +02:00
|
|
|
"max-len": [2, 160],
|
2017-07-13 23:28:45 +02:00
|
|
|
"camelcase": 0,
|
2017-10-22 09:23:29 +02:00
|
|
|
"require-jsdoc": 0,
|
2017-10-22 11:53:16 +02:00
|
|
|
"valid-jsdoc": 0,
|
2017-07-13 23:28:45 +02:00
|
|
|
"prefer-spread": 1,
|
|
|
|
"prefer-rest-params": 1,
|
2018-04-30 19:01:51 +02:00
|
|
|
"quote-props":["error", "as-needed"]
|
2017-07-13 23:28:45 +02:00
|
|
|
}
|
|
|
|
}
|