2020-10-24 07:34:43 +00:00
|
|
|
{
|
2023-04-25 05:12:14 +00:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
"plugin:promise/recommended",
|
|
|
|
// "plugin:import/recommended",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
2020-10-24 07:34:43 +00:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2023-04-25 05:12:14 +00:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint",
|
|
|
|
"react",
|
|
|
|
"react-hooks",
|
|
|
|
"prettier",
|
2023-07-08 00:26:27 +00:00
|
|
|
"promise",
|
|
|
|
"jest-dom",
|
|
|
|
"testing-library"
|
2023-04-25 05:12:14 +00:00
|
|
|
//"import"
|
|
|
|
],
|
2020-10-24 07:34:43 +00:00
|
|
|
"globals": {
|
|
|
|
"sleep": true,
|
|
|
|
"prettyFormat": true
|
|
|
|
},
|
2023-04-25 05:12:14 +00:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
2020-10-24 07:34:43 +00:00
|
|
|
"parserOptions": {
|
2023-04-25 05:12:14 +00:00
|
|
|
"ecmaVersion": 11,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
2023-04-19 15:01:03 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2023-07-07 06:35:22 +00:00
|
|
|
"@typescript-eslint/no-this-alias": "off",
|
|
|
|
"@typescript-eslint/ban-types": "off",
|
2023-04-25 05:12:14 +00:00
|
|
|
"no-unused-vars": "off",
|
2023-07-25 01:26:10 +00:00
|
|
|
"no-useless-catch": "off",
|
2023-04-25 05:12:14 +00:00
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
|
"no-empty-function": "off",
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
"react/display-name": "off",
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"no-explicit-any": "off",
|
2023-04-26 14:32:45 +00:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
2023-06-07 12:44:16 +00:00
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
|
|
"promise/always-return": "off"
|
2020-10-24 07:34:43 +00:00
|
|
|
}
|
2023-04-19 15:01:03 +00:00
|
|
|
}
|