-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
53 lines (46 loc) · 1.06 KB
/
.eslintrc.yml
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
46
47
48
49
50
51
52
53
---
parser: "@babel/eslint-parser"
plugins:
- react
- jest
- functional
- testing-library
- jest-dom
extends:
- "airbnb-base"
- "plugin:jest/recommended"
- "plugin:functional/external-recommended"
- "plugin:functional/recommended"
- "plugin:react/recommended"
- "plugin:react-hooks/recommended"
- "plugin:testing-library/react"
- "plugin:jest-dom/recommended"
env:
browser: true
node: true
jest: true
# es2020: true
# parserOptions:
# ecmaVersion: 2020
# settings:
# import/resolver:
# webpack:
# node:
# # webpack:
# # react:
# # version: "16.13"
rules:
import/extensions: 0
# TODO: cause an error
import/no-unresolved: 0
# react/jsx-filename-extension: 0
react/prop-types: 0
no-console: 0
functional/no-conditional-statement: 0
functional/no-expression-statement: 0
functional/immutable-data: 0
functional/functional-parameters: 0
functional/no-try-statement: 0
functional/no-throw-statement: 0
no-underscore-dangle: [2, { "allow": ["__filename", "__dirname"] }]
testing-library/no-debug: 0