This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
forked from appidea/react-native-hce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
62 lines (57 loc) · 1.57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
root: true
parser: '@typescript-eslint/parser'
plugins:
- '@typescript-eslint'
- 'react'
- 'react-native'
- 'import'
extends:
- 'plugin:prettier/recommended'
- 'eslint:recommended'
- 'plugin:@typescript-eslint/eslint-recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:react/recommended'
- 'plugin:react-native/all'
rules:
semi: 'off'
curly: warn
no-empty: 'off'
no-fallthrough: warn
no-empty-function: 'off'
no-console: warn
eqeqeq:
- warn
- always
- null: ignore
import/no-default-export: warn
prettier/prettier: 'warn'
react/prop-types: 'off'
react/display-name: 'off'
react/jsx-no-literals": 'off'
react/react-in-jsx-scope: 'off'
react-native/no-single-element-style-arrays: 'off'
react-native/no-color-literals: 'off'
react-native/sort-styles: 'off'
react-native/no-inline-styles: 'off'
react-native/no-unused-styles: 'warn'
'@typescript-eslint/no-empty-function': 'off'
'@typescript-eslint/no-use-before-define': 'off'
'@typescript-eslint/ban-ts-comment': 'off'
'@typescript-eslint/member-delimiter-style': 'off'
'@typescript-eslint/no-explicit-any': 'off'
'@typescript-eslint/explicit-module-boundary-types': 'off'
'@typescript-eslint/no-non-null-assertion': 'off'
'@typescript-eslint/explicit-function-return-type': 'off'
'@typescript-eslint/no-unused-vars': 'off'
'@typescript-eslint/no-var-requires': 'off'
'@typescript-eslint/ban-types':
- warn
- extendDefaults: true
types:
'{}': false
parserOptions:
ecmaFeatures:
jsx: true
settings:
react:
version: detect