-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yaml
More file actions
42 lines (42 loc) · 741 Bytes
/
.eslintrc.yaml
File metadata and controls
42 lines (42 loc) · 741 Bytes
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
---
parser: babel-eslint
parserOptions:
sourceType: module
ecmaVersion: 6
ecmaFeatures:
jsx: true
modules: true
experimentalObjectRestSpread: true
extends:
- xo-react
- prettier
- plugin:jest/recommended
- prettier/react
env:
es6: true
jest: true
plugins:
- prettier
- jest
- flowtype-errors
rules:
prettier/prettier:
- error
- trailingComma: es5
singleQuote: true
jest/no-disabled-tests: warn
jest/no-focused-tests: error
jest/no-identical-title: error
jest/valid-expect: error
react/destructuring-assignment: false
max-nested-callbacks:
- error
- 20
flowtype-errors/show-errors: 2
globals:
VERSION: true
overrides:
- files:
- "*.spec.js"
rules:
react/prop-types: 0