Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

65 changes: 3 additions & 62 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,7 @@
{
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"node": true
},
"plugins": ["@typescript-eslint", "react", "react-hooks"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"extends": "@aboutbits/eslint-config/ts-react",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"paths": ["./"]
}
}
"project": true
},
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"varsIgnorePattern": "^[iI]gnored",
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^ignore"
}
],
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@next/next/no-img-element": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"unknown",
"parent",
"sibling",
"index"
]
}
],
"no-console": [
"error",
{
"allow": ["warn", "error", "assert"]
}
]
}
"ignorePatterns": ["node_modules", "dist"]
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
/.vscode

# Project
/package-lock.json
/node_modules
/dist

# ESLint
.eslintcache

# TypeScript
*.tsbuildinfo
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

Loading