forked from minwork/use-long-press
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 1.02 KB
/
.eslintrc
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
{
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier/@typescript-eslint",
"prettier/react",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.lint.json"
},
"rules": {
"import/no-unresolved": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [".jsx", ".tsx"]
}
],
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "off",
"import/prefer-default-export": "off",
"react/prop-types": [
"error",
{
"skipUndeclared": true
}
],
"react/jsx-props-no-spreading": "off"
}
}