2016-06-29 12:27:04 +02:00
|
|
|
rules:
|
2017-01-20 12:08:43 +01:00
|
|
|
linebreak-style:
|
|
|
|
- 2
|
|
|
|
- unix
|
2017-10-24 15:57:46 +02: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 15:57:46 +02:00
|
|
|
- single
|
2018-06-26 08:45:41 +00:00
|
|
|
- avoidEscape: true
|
2017-01-20 12:08:43 +01:00
|
|
|
no-console: 1
|
2018-09-05 17:25:06 +02:00
|
|
|
no-restricted-globals: [2, 'length']
|
2017-01-20 12:08:43 +01:00
|
|
|
no-global-assign: 0
|
|
|
|
no-unsafe-negation: 0
|
2018-04-26 19:06:48 +02:00
|
|
|
react/prop-types: 0
|
2018-07-06 12:36:09 +00:00
|
|
|
react/jsx-no-target-blank: 0
|
2018-07-27 17:45:49 +02:00
|
|
|
react/no-unescaped-entities: 0
|
2018-11-29 18:43:26 +00:00
|
|
|
react/display-name: 1
|
2016-06-29 12:27:04 +02:00
|
|
|
parser: babel-eslint
|
|
|
|
|
2017-03-14 11:42:44 +01:00
|
|
|
plugins:
|
|
|
|
- react
|
2018-05-15 12:39:53 +02:00
|
|
|
- flowtype
|
2016-06-29 12:27:04 +02:00
|
|
|
env:
|
2017-01-20 12:08:43 +01:00
|
|
|
browser: true
|
|
|
|
commonjs: true
|
|
|
|
es6: true
|
2019-02-03 18:05:55 +01:00
|
|
|
settings:
|
|
|
|
react:
|
2019-02-08 12:45:14 +01:00
|
|
|
version: 'detect'
|
|
|
|
flowVersion: '0.92'
|
2018-04-27 15:51:31 +02:00
|
|
|
|
2018-09-05 17:25:06 +02:00
|
|
|
overrides:
|
|
|
|
files: ['*.test.js', 'cypress/integration/**/*.js']
|
|
|
|
env:
|
2018-04-27 15:51:31 +02:00
|
|
|
mocha: true
|
2018-09-05 17:25:06 +02:00
|
|
|
|
|
|
|
globals:
|
2018-07-12 10:09:41 +02:00
|
|
|
process: false
|
2018-04-27 15:51:31 +02:00
|
|
|
|
2016-06-29 12:27:04 +02:00
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
2018-05-15 12:39:53 +02:00
|
|
|
- plugin:flowtype/recommended
|
2018-04-26 19:06:48 +02:00
|
|
|
- plugin:react/recommended
|
|
|
|
- prettier
|
2018-05-15 12:39:53 +02:00
|
|
|
- prettier/flowtype
|
2018-04-26 19:06:48 +02:00
|
|
|
- prettier/react
|
2016-06-29 12:27:04 +02:00
|
|
|
parserOptions:
|
|
|
|
ecmaFeatures:
|
2017-01-20 12:08:43 +01:00
|
|
|
jsx: true
|