Refactored code, working with database data
This commit is contained in:
@@ -1,37 +1,17 @@
|
||||
{
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": [
|
||||
// "@typescript-eslint",
|
||||
// "prettier"
|
||||
],
|
||||
"extends": [
|
||||
// "prettier",
|
||||
// "eslint:recommended",
|
||||
// "next/core-web-vitals",
|
||||
// "plugin:import/typescript",
|
||||
// "plugin:prettier/recommended",
|
||||
// "plugin:react/recommended",
|
||||
// "plugin:@typescript-eslint/recommended",
|
||||
// "plugin:@typescript-eslint/eslint-recommended",
|
||||
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
||||
],
|
||||
"rules": {
|
||||
"react-hooks/rules-of-hooks": "off", // error
|
||||
"react-hooks/exhaustive-deps": "off",
|
||||
"prettier/prettier": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off", // error
|
||||
"@typescript-eslint/no-unsafe-argument": "off"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"extends": [
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
||||
],
|
||||
"parserOptions": {
|
||||
"project": ["./tsconfig.json"]
|
||||
}
|
||||
}]
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": [
|
||||
"@typescript-eslint/eslint-plugin"
|
||||
],
|
||||
"extends": [
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/interface-name-prefix": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": "off",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user