Skip to content

Commit

Permalink
upgrade prettier, drop unsupported eslint-config-airbnb-typescript-pr…
Browse files Browse the repository at this point in the history
…ettier, upgrade other packages (#179)
  • Loading branch information
elijahcarrel authored Aug 31, 2023
1 parent 2549860 commit 8e9b62b
Show file tree
Hide file tree
Showing 7 changed files with 9,060 additions and 13,950 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
module.exports = {
extends: ["airbnb-typescript-prettier", "next"],
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"next",
"plugin:prettier/recommended",
],
plugins: ["prettier"],
rules: {
"prettier/prettier": "error",
"import/prefer-default-export": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
Expand All @@ -12,6 +19,7 @@ module.exports = {
},
],
"no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": "off",
"no-unused-vars": "off",
Expand Down
9 changes: 8 additions & 1 deletion api/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
module.exports = {
extends: ["airbnb-typescript-prettier"],
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
plugins: ["import", "prettier"],
rules: {
"prettier/prettier": "error",
"import/prefer-default-export": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": "off",
"no-unused-vars": "off",
Expand Down
Loading

1 comment on commit 8e9b62b

@vercel
Copy link

@vercel vercel bot commented on 8e9b62b Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.