2016-06-29 10:27:04 +00:00
|
|
|
rules:
|
2017-01-20 11:08:43 +00:00
|
|
|
linebreak-style:
|
|
|
|
- 2
|
|
|
|
- unix
|
2017-10-24 13:57:46 +00:00
|
|
|
quotes:
|
2018-06-26 08:45:41 +00:00
|
|
|
- 1 # While https://github.com/eslint/eslint/issues/9662#issuecomment-353958854 we don't enforce this
|
2017-10-24 13:57:46 +00:00
|
|
|
- single
|
2018-06-26 08:45:41 +00:00
|
|
|
- avoidEscape: true
|
2017-01-20 11:08:43 +00:00
|
|
|
no-console: 1
|
2018-09-05 15:25:06 +00:00
|
|
|
no-restricted-globals: [2, 'length']
|
2017-01-20 11:08:43 +00:00
|
|
|
no-global-assign: 0
|
|
|
|
no-unsafe-negation: 0
|
2018-04-26 17:06:48 +00:00
|
|
|
react/prop-types: 0
|
2018-07-06 12:36:09 +00:00
|
|
|
react/jsx-no-target-blank: 0
|
2018-07-27 15:45:49 +00:00
|
|
|
react/no-unescaped-entities: 0
|
2016-06-29 10:27:04 +00:00
|
|
|
parser: babel-eslint
|
2018-11-11 15:58:29 +00:00
|
|
|
parserOptions:
|
|
|
|
ecmaFeatures:
|
|
|
|
legacyDecorators: true
|
2016-06-29 10:27:04 +00:00
|
|
|
|
2017-03-14 10:42:44 +00:00
|
|
|
plugins:
|
|
|
|
- react
|
2018-05-15 10:39:53 +00:00
|
|
|
- flowtype
|
2016-06-29 10:27:04 +00:00
|
|
|
env:
|
2017-01-20 11:08:43 +00:00
|
|
|
browser: true
|
|
|
|
commonjs: true
|
|
|
|
es6: true
|
2018-04-27 13:51:31 +00:00
|
|
|
|
2018-09-05 15:25:06 +00:00
|
|
|
overrides:
|
|
|
|
files: ['*.test.js', 'cypress/integration/**/*.js']
|
|
|
|
env:
|
2018-04-27 13:51:31 +00:00
|
|
|
mocha: true
|
2018-09-05 15:25:06 +00:00
|
|
|
|
|
|
|
globals:
|
2018-07-12 08:09:41 +00:00
|
|
|
process: false
|
2018-04-27 13:51:31 +00:00
|
|
|
|
2016-06-29 10:27:04 +00:00
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
2018-05-15 10:39:53 +00:00
|
|
|
- plugin:flowtype/recommended
|
2018-04-26 17:06:48 +00:00
|
|
|
- plugin:react/recommended
|
|
|
|
- prettier
|
2018-05-15 10:39:53 +00:00
|
|
|
- prettier/flowtype
|
2018-04-26 17:06:48 +00:00
|
|
|
- prettier/react
|
2016-06-29 10:27:04 +00:00
|
|
|
parserOptions:
|
|
|
|
ecmaFeatures:
|
2017-01-20 11:08:43 +00:00
|
|
|
jsx: true
|