Skip to content

Commit

Permalink
feat: add airbnb eslint config and use cloudinary images for about ca…
Browse files Browse the repository at this point in the history
…rousel
  • Loading branch information
aaronchan32 committed May 28, 2024
1 parent c6099cc commit 3de6832
Show file tree
Hide file tree
Showing 41 changed files with 2,795 additions and 2,041 deletions.
18 changes: 16 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
{
"extends": ["eslint:recommended", "next", "next/core-web-vitals", "prettier"],
"extends": [
"airbnb",
"airbnb-typescript",
"eslint:recommended",
"next",
"next/core-web-vitals",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_"
}
]
],
"import/prefer-default-export": "off",
"react/require-default-props": "off",
"react/button-has-type": "off"
}
}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
auto-install-peers = true
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
"eslint-config-airbnb": "^19.0.4",
"focus-trap-react": "^10.2.3",
"keen-slider": "^6.8.6",
"next": "14.2.3",
Expand All @@ -23,7 +24,10 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-next": "^14.2.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
Loading

0 comments on commit 3de6832

Please sign in to comment.