2017-07-13 16:28:45 -05:00
|
|
|
{
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
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",
|
|
|
|
"plugin:jest/recommended"
|
2017-07-13 16:28:45 -05:00
|
|
|
],
|
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": {
|
|
|
|
"no-tabs": 0,
|
|
|
|
"keyword-spacing": 0,
|
|
|
|
"padded-blocks": 0,
|
|
|
|
"no-useless-escape": 0,
|
|
|
|
"handle-callback-err": 2,
|
|
|
|
"no-debugger": 2,
|
|
|
|
"no-fallthrough": 2,
|
|
|
|
"curly": 2,
|
|
|
|
"eol-last": 1,
|
|
|
|
"no-irregular-whitespace": 1,
|
|
|
|
"no-mixed-spaces-and-tabs": [
|
|
|
|
1,
|
|
|
|
"smart-tabs"
|
|
|
|
],
|
|
|
|
"no-trailing-spaces": 1,
|
|
|
|
"no-new-require": 2,
|
|
|
|
"no-undef": 2,
|
|
|
|
"no-unreachable": 2,
|
|
|
|
"no-unused-vars": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"vars": "all",
|
|
|
|
"args": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-len": [
|
|
|
|
1,
|
|
|
|
160
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
2,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"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,
|
|
|
|
"no-var": 2,
|
|
|
|
"no-constant-condition": 2,
|
|
|
|
"no-empty": 2,
|
|
|
|
"guard-for-in": 2,
|
|
|
|
"no-invalid-this": 2,
|
|
|
|
"new-cap": 2,
|
|
|
|
"one-var": 2,
|
2018-02-19 13:29:14 -05:00
|
|
|
"quote-props":["error", "as-needed"],
|
2017-07-13 16:28:45 -05:00
|
|
|
"no-console": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"warn"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|