mon-entreprise/.eslintrc.yaml

47 lines
862 B
YAML
Raw Normal View History

2016-06-29 10:27:04 +00:00
rules:
2017-01-20 11:08:43 +00:00
linebreak-style:
- 2
- unix
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
- single
2018-06-26 08:45:41 +00:00
- avoidEscape: true
2017-01-20 11:08:43 +00:00
no-console: 1
no-restricted-globals: [2, 'length']
2017-01-20 11:08:43 +00:00
no-global-assign: 0
no-unsafe-negation: 0
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
parserOptions:
ecmaFeatures:
legacyDecorators: true
2016-06-29 10:27:04 +00:00
plugins:
- react
- flowtype
2016-06-29 10:27:04 +00:00
env:
2017-01-20 11:08:43 +00:00
browser: true
commonjs: true
es6: true
overrides:
files: ['*.test.js', 'cypress/integration/**/*.js']
env:
mocha: true
globals:
2018-07-12 08:09:41 +00:00
process: false
2016-06-29 10:27:04 +00:00
extends:
- eslint:recommended
- plugin:flowtype/recommended
- plugin:react/recommended
- prettier
- prettier/flowtype
- prettier/react
2016-06-29 10:27:04 +00:00
parserOptions:
ecmaFeatures:
2017-01-20 11:08:43 +00:00
jsx: true