-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
39 lines (34 loc) · 922 Bytes
/
.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
env:
browser: true
es2021: true
extends:
- airbnb
- plugin:react/recommended
- plugin:functional/recommended
- plugin:react-hooks/recommended
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: latest
sourceType: module
plugins:
- react
- functional
rules:
import/extensions: 0
import/no-unresolved: 0
react/prop-types: 0
no-console: 0
react/react-in-jsx-scope: 0
linebreak-style: ["error", "windows"]
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"] }]
react/function-component-definition:
[2, { "namedComponents": "arrow-function" }]
testing-library/no-debug: 0
react/jsx-filename-extension: [1, { "extensions": [".js", ".jsx"] }]