-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
36 lines (36 loc) · 859 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
{
"extends": "@react-pakistan/eslint-config-shared/ts-react/.eslintrc",
"parser": "@babel/eslint-parser",
"env": {
"jest": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"import/prefer-default-export": "off",
"no-underscore-dangle": ["error", {
"allow": ["_id"]
}],
"space-infix-ops": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": "off",
"react/jsx-props-no-spreading": "off",
"react/function-component-definition": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}