-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.yaml
46 lines (41 loc) · 1.03 KB
/
.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
46
parser: "@typescript-eslint/parser"
env:
browser: true
commonjs: true
es6: true
jest: true
node: true
parserOptions:
ecmaVersion: 2018
sourceType: module
ecmaFeatures:
jsx: true
extends:
- eslint:recommended
- plugin:react/recommended
- plugin:@typescript-eslint/recommended
- prettier/@typescript-eslint
- prettier
- plugin:jsx-a11y/strict
plugins:
- react-hooks
- emotion
settings:
react:
version: detect
rules:
"@typescript-eslint/no-use-before-define": off
"@typescript-eslint/explicit-function-return-type": off
"@typescript-eslint/no-non-null-assertion": off
"@typescript-eslint/ban-ts-ignore": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-empty-function": off
jsx-a11y/anchor-has-content: off
jsx-a11y/heading-has-content: off
react/prop-types: off
react-hooks/rules-of-hooks: error
emotion/no-vanilla: error
emotion/import-from-emotion: error
emotion/styled-import: error
emotion/syntax-preference: [error, string]
react/no-unescaped-entities: off