forked from tdeekens/flopflip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
45 lines (45 loc) · 889 Bytes
/
.eslintrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
parserOptions:
sourceType: module
ecmaVersion: 7
ecmaFeatures:
jsx: true
modules: true
project: './tsconfig.json'
extends:
- xo
- xo-typescript
- xo-react
- prettier
- prettier/@typescript-eslint
- prettier/react
- plugin:jest/recommended
env:
es6: true
jest: true
browser: true
plugins:
- prettier
- jest
rules:
jest/no-disabled-tests: warn
jest/no-focused-tests: error
jest/no-identical-title: error
jest/valid-expect: error
max-nested-callbacks:
- error
- 20
'@typescript-eslint/no-var-requires': 0
'@typescript-eslint/explicit-function-return-type': 0
'@typescript-eslint/promise-function-async': 0
'@typescript-eslint/no-explicit-any': 0
globals:
VERSION: true
overrides:
- files:
- '*.spec.js'
- 'packages/test-utils/*.js'
rules:
react/prop-types: 0
settings:
react:
version: 'detect'