2023-03-18 22:47:48 +11:00
|
|
|
{
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"plugins": ["react", "@typescript-eslint", "prettier"],
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"react/react-in-jsx-scope": "off",
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
2023-05-31 19:39:19 +10:00
|
|
|
"prettier/prettier": "error",
|
|
|
|
"@typescript-eslint/no-empty-function": "off"
|
2023-03-18 22:47:48 +11:00
|
|
|
}
|
|
|
|
}
|