2017-07-13 23:28:45 +02:00
|
|
|
{
|
|
|
|
"plugins": [
|
2018-10-09 14:24:17 +02:00
|
|
|
"babel",
|
2017-11-01 17:47:20 +01:00
|
|
|
"flowtype",
|
2018-12-03 07:18:45 +01:00
|
|
|
"jest",
|
2018-12-05 23:53:20 +01:00
|
|
|
"verdaccio",
|
|
|
|
"jsx-a11y"
|
2017-07-13 23:28:45 +02:00
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"google",
|
2017-11-01 17:47:20 +01:00
|
|
|
"plugin:flowtype/recommended",
|
2018-08-15 22:17:41 +02:00
|
|
|
"plugin:jest/recommended",
|
2018-12-03 07:18:45 +01:00
|
|
|
"plugin:prettier/recommended",
|
2018-12-05 23:53:20 +01:00
|
|
|
"plugin:verdaccio/recommended",
|
|
|
|
"plugin:jsx-a11y/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-10-09 14:24:17 +02:00
|
|
|
"babel/no-invalid-this": 1,
|
2018-08-15 22:17:41 +02:00
|
|
|
"prettier/prettier": ["error", null, "@prettier"],
|
2018-12-15 22:01:21 +01:00
|
|
|
"semi": ["error"],
|
|
|
|
"comma-dangle": ["error"],
|
|
|
|
"camelcase": 0,
|
2018-12-15 17:34:32 +01:00
|
|
|
"no-useless-escape": ["error"],
|
2018-12-05 23:53:20 +01:00
|
|
|
"no-invalid-this": 0,
|
2018-12-15 17:34:32 +01:00
|
|
|
"handle-callback-err": ["error"],
|
|
|
|
"no-fallthrough": ["error"],
|
|
|
|
"no-new-require": ["error"],
|
|
|
|
"max-len": ["error", 160],
|
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-06-11 22:22:45 +02:00
|
|
|
"linebreak-style": 0,
|
2019-01-06 11:03:41 +01:00
|
|
|
"quote-props":["error", "as-needed"],
|
2018-12-15 08:55:39 +01:00
|
|
|
"verdaccio/jsx-no-style": ["warn"],
|
|
|
|
"verdaccio/jsx-spread": ["warn"],
|
2018-12-16 19:05:52 +01:00
|
|
|
"jest/expect-expect": 0
|
2017-07-13 23:28:45 +02:00
|
|
|
}
|
|
|
|
}
|