forked from joshswan/react-native-autolink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.11 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
37
38
39
40
41
42
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb"
],
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
},
"rules": {
"class-methods-use-this": "off",
"import/extensions": ["error", "ignorePackages", {
"js": "never",
"mjs": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true, "peerDependencies": true }],
"react/jsx-filename-extension": ["error", { "extensions": [".jsx", ".tsx"] }],
"react/require-default-props": "off",
"react/static-property-placement": ["error", "static public field"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": ["error", { "ignoreRestSiblings": true }]
},
"overrides": [
{
"files": ["*.test.ts", "*.test.tsx"],
"env": { "jest": true, "node": true }
}
]
}