-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
39 lines (39 loc) · 809 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
37
38
39
{
"extends": ["airbnb", "airbnb-typescript", "plugin:cypress/recommended"],
"plugins": ["cypress"],
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["babel-polyfill", "babel-polyfill/dist/polyfill.min.js"],
["@", "./src/"]
],
"extensions": [".js", ".jsx", ".tsx"]
},
"typescript": {}
}
},
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [
"error",
{ "extensions": [".jsx", ".tsx"] }
],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"parserOptions": {
"project": "./tsconfig.json"
}
}