2020-01-03 21:29:21 +00:00
|
|
|
{
|
2020-01-18 22:17:09 +00:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
2020-01-20 20:56:23 +00:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
2020-01-11 22:14:20 +00:00
|
|
|
"extends": [
|
2020-01-18 22:17:09 +00:00
|
|
|
"airbnb-typescript",
|
2020-01-24 15:28:30 +00:00
|
|
|
"airbnb/hooks",
|
2020-01-18 22:17:09 +00:00
|
|
|
"prettier",
|
|
|
|
"prettier/react",
|
|
|
|
"prettier/@typescript-eslint"
|
2020-01-11 22:14:20 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
2020-01-18 22:17:09 +00:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
2020-02-13 18:54:37 +00:00
|
|
|
"@typescript-eslint/no-explicit-any": 2,
|
2020-01-18 22:17:09 +00:00
|
|
|
"lines-between-class-members": "off",
|
|
|
|
"@typescript-eslint/interface-name-prefix": [
|
|
|
|
"warn",
|
|
|
|
{ "prefixWithI": "always" }
|
|
|
|
],
|
|
|
|
"import/named": "off",
|
|
|
|
"import/namespace": "off",
|
|
|
|
"import/default": "off",
|
|
|
|
"import/no-named-as-default-member": "off",
|
|
|
|
"import/no-named-as-default": "off",
|
|
|
|
"import/no-cycle": "off",
|
|
|
|
"import/no-unused-modules": "off",
|
|
|
|
"import/no-deprecated": "off",
|
|
|
|
"import/no-unresolved": "off",
|
|
|
|
"import/prefer-default-export": "off",
|
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"indent": "off",
|
|
|
|
"@typescript-eslint/indent": "off",
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"react/destructuring-assignment": "off",
|
|
|
|
"react/jsx-props-no-spreading": "off",
|
|
|
|
"spaced-comment": ["error", "always", {
|
|
|
|
"markers": ["/"]
|
|
|
|
}],
|
2020-01-20 20:25:47 +00:00
|
|
|
"max-classes-per-file": "off",
|
|
|
|
"no-plusplus": "off",
|
|
|
|
"prefer-destructuring": ["error", {"object": true, "array": false}],
|
|
|
|
"default-case": "off",
|
|
|
|
"consistent-return": "off",
|
|
|
|
"@typescript-eslint/no-use-before-define": ["error", { "functions": false, "classes": true }],
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"no-nested-ternary": "off",
|
|
|
|
"jsx-a11y/media-has-caption": "off"
|
2020-01-11 22:14:20 +00:00
|
|
|
}
|
2020-01-03 21:29:21 +00:00
|
|
|
}
|