2017-07-13 16:28:45 -05:00
|
|
|
{
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
2018-10-09 07:24:17 -05:00
|
|
|
"babel",
|
2017-11-01 11:47:20 -05:00
|
|
|
"flowtype",
|
|
|
|
"jest"
|
2017-07-13 16:28:45 -05:00
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"google",
|
|
|
|
"plugin:react/recommended",
|
2017-11-01 11:47:20 -05:00
|
|
|
"plugin:flowtype/recommended",
|
2018-08-15 15:17:41 -05:00
|
|
|
"plugin:jest/recommended",
|
|
|
|
"plugin:prettier/recommended"
|
2017-07-13 16:28:45 -05:00
|
|
|
],
|
2018-10-04 07:19:50 -05:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"pragma": "React", // Pragma to use
|
|
|
|
"version": "16.4.2", // React version
|
|
|
|
"flowVersion": "0.81.0" // Flow version
|
|
|
|
}
|
|
|
|
},
|
2017-09-02 14:20:59 -05:00
|
|
|
"parser": "babel-eslint",
|
2017-07-13 16:28:45 -05:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaVersion": 7,
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"impliedStrict": true,
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2017-11-01 11:47:20 -05:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2017-07-13 16:28:45 -05:00
|
|
|
},
|
2018-01-28 12:28:03 -05:00
|
|
|
"globals": {
|
|
|
|
"__APP_VERSION__": true
|
|
|
|
},
|
2017-07-13 16:28:45 -05:00
|
|
|
"rules": {
|
2018-10-09 07:24:17 -05:00
|
|
|
"babel/no-invalid-this": 1,
|
2018-08-15 15:17:41 -05:00
|
|
|
"prettier/prettier": ["error", null, "@prettier"],
|
2018-04-30 11:43:33 -05:00
|
|
|
"no-useless-escape": 2,
|
2018-10-09 07:24:17 -05:00
|
|
|
"no-invalid-this": 0,
|
2018-06-29 18:13:25 -05:00
|
|
|
"react/no-deprecated": 1,
|
2018-06-30 10:13:53 -05:00
|
|
|
"react/jsx-no-target-blank": 1,
|
2017-07-13 16:28:45 -05:00
|
|
|
"handle-callback-err": 2,
|
|
|
|
"no-fallthrough": 2,
|
|
|
|
"no-new-require": 2,
|
2018-04-30 12:01:51 -05:00
|
|
|
"max-len": [2, 160],
|
2017-07-13 16:28:45 -05:00
|
|
|
"camelcase": 0,
|
2017-10-22 02:23:29 -05:00
|
|
|
"require-jsdoc": 0,
|
2017-10-22 04:53:16 -05:00
|
|
|
"valid-jsdoc": 0,
|
2017-07-13 16:28:45 -05:00
|
|
|
"prefer-spread": 1,
|
|
|
|
"prefer-rest-params": 1,
|
2018-06-11 15:22:45 -05:00
|
|
|
"linebreak-style": 0,
|
2018-04-30 12:01:51 -05:00
|
|
|
"quote-props":["error", "as-needed"]
|
2017-07-13 16:28:45 -05:00
|
|
|
}
|
|
|
|
}
|