55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
{
|
|
"plugins": [
|
|
"prettier",
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"airbnb-typescript",
|
|
"react-app",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": [
|
|
"**/tsconfig.json"
|
|
]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {
|
|
"alwaysTryTypes": true,
|
|
"exceptAfterSingleLine": true
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"react/jsx-key": 2,
|
|
"arrow-body-style": 1,
|
|
"import/no-duplicates": 1,
|
|
"react/self-closing-comp": 1,
|
|
"@typescript-eslint/no-shadow": 0,
|
|
"import/no-useless-path-segments": 1,
|
|
"import/no-extraneous-dependencies": 0,
|
|
"@typescript-eslint/naming-convention": 0,
|
|
"import/extensions": "never",
|
|
"object-curly-spacing": [
|
|
1,
|
|
"always"
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
1,
|
|
{
|
|
"vars": "all",
|
|
"args": "none"
|
|
}
|
|
],
|
|
"prefer-destructuring": [
|
|
1,
|
|
{
|
|
"object": true,
|
|
"array": false
|
|
}
|
|
]
|
|
}
|
|
}
|