-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
31 lines (31 loc) · 1020 Bytes
/
.eslintrc.json
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.eslint.json"
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
// "airbnb-typescript",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
//"plugin:prettier/recommended",
//"prettier/@typescript-eslint"
],
"rules": {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
"react/jsx-wrap-multilines": ["error", {"declaration": false, "assignment": false}],
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-spreading": "off"
// "import/prefer-default-export": "off"
}
}