2023-07-11 20:22:57 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"env": {
|
|
|
|
"es2021": true,
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"standard-with-typescript",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime",
|
|
|
|
"plugin:react-hooks/recommended",
|
2023-08-23 17:59:36 +00:00
|
|
|
"plugin:tailwindcss/recommended",
|
2023-07-11 20:22:57 +00:00
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks", "prettier"],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module",
|
|
|
|
"project": "./tsconfig.eslint.json",
|
|
|
|
"warnOnUnsupportedTypeScriptVersion": false
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"prettier/prettier": "error",
|
2023-07-23 20:10:04 +00:00
|
|
|
"react/prop-types": "off",
|
2023-08-01 20:25:05 +00:00
|
|
|
"import/order": "error",
|
2023-07-11 20:22:57 +00:00
|
|
|
"@typescript-eslint/naming-convention": "off",
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
|
|
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
|
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
|
|
"@typescript-eslint/no-floating-promises": "off",
|
|
|
|
"@typescript-eslint/restrict-template-expressions": "off",
|
2023-08-06 16:24:00 +00:00
|
|
|
"@typescript-eslint/no-misused-promises": "off",
|
2023-11-06 19:05:26 +00:00
|
|
|
"@typescript-eslint/consistent-type-assertions": "off",
|
2023-11-14 13:32:00 +00:00
|
|
|
"import/no-absolute-path": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "warn"
|
2023-07-11 20:22:57 +00:00
|
|
|
}
|
|
|
|
}
|