-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy path.eslintrc
36 lines (36 loc) · 1014 Bytes
/
.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
{
"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 }]
}
}