2018-07-30 10:23:30 +00:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"eslint-config-airbnb",
|
2019-03-04 11:15:22 +00:00
|
|
|
"prettier",
|
|
|
|
"prettier/babel",
|
|
|
|
"prettier/flowtype",
|
|
|
|
"prettier/react",
|
|
|
|
"plugin:jest/recommended",
|
2018-07-30 10:23:30 +00:00
|
|
|
"plugin:flowtype/recommended",
|
|
|
|
"plugin:jest/recommended"
|
|
|
|
],
|
2018-09-20 11:56:24 +00:00
|
|
|
"globals": {
|
2018-10-09 13:36:55 +00:00
|
|
|
"LOCAL": true,
|
2019-02-19 20:48:48 +00:00
|
|
|
"COMMITHASH": true,
|
|
|
|
"VERSION": true
|
2018-09-20 11:56:24 +00:00
|
|
|
},
|
2018-07-30 10:23:30 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2019-02-05 13:26:40 +00:00
|
|
|
"jest": true,
|
|
|
|
"cypress/globals": true
|
2018-07-30 10:23:30 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2018-09-23 06:28:12 +00:00
|
|
|
"import/prefer-default-export": 0,
|
2018-09-21 12:01:41 +00:00
|
|
|
"no-use-before-define": 0,
|
2018-09-05 12:54:24 +00:00
|
|
|
"no-plusplus": 0,
|
2019-02-11 13:51:25 +00:00
|
|
|
"jest/no-disabled-tests": 0,
|
2018-08-17 10:32:57 +00:00
|
|
|
"class-methods-use-this": 0,
|
2018-08-15 13:26:03 +00:00
|
|
|
"react/require-default-props": 0,
|
2018-08-16 11:14:13 +00:00
|
|
|
"react/forbid-prop-types": 0,
|
2018-08-13 10:19:10 +00:00
|
|
|
"react/destructuring-assignment": 0,
|
2018-07-30 10:23:30 +00:00
|
|
|
"react/jsx-one-expression-per-line": 0,
|
|
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"]}],
|
|
|
|
"no-console": 0,
|
|
|
|
"no-alert": 0,
|
|
|
|
"no-prototype-builtins": 0,
|
|
|
|
"new-cap": 0,
|
|
|
|
"max-len": 0,
|
|
|
|
"eol-last": 0,
|
2019-02-05 13:26:40 +00:00
|
|
|
"spaced-comment": 0,
|
|
|
|
"no-unused-expressions": 0,
|
2019-03-04 11:15:22 +00:00
|
|
|
"chai-friendly/no-unused-expressions": 2,
|
|
|
|
"prettier/prettier": "error"
|
2018-07-30 10:23:30 +00:00
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"import",
|
2019-03-04 11:15:22 +00:00
|
|
|
"prettier",
|
2018-08-14 12:56:47 +00:00
|
|
|
"react",
|
2018-07-30 10:23:30 +00:00
|
|
|
"jest",
|
2019-02-05 13:26:40 +00:00
|
|
|
"flowtype",
|
|
|
|
"cypress",
|
|
|
|
"chai-friendly"
|
2018-07-30 10:23:30 +00:00
|
|
|
],
|
|
|
|
"settings": {
|
2018-08-13 14:35:49 +00:00
|
|
|
"import/resolver": {
|
2018-08-14 12:56:47 +00:00
|
|
|
"babel-module": {}
|
2018-11-21 13:09:40 +00:00
|
|
|
},
|
2018-07-30 10:23:30 +00:00
|
|
|
"import/ignore": [
|
|
|
|
"\\.(scss|less|css)$"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 7,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
2019-02-05 14:47:04 +00:00
|
|
|
"jsx": true
|
2018-07-30 10:23:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|