Skip to content

Commit

Permalink
Init eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
grayashh committed Aug 18, 2024
1 parent c7744f5 commit 4803585
Show file tree
Hide file tree
Showing 3 changed files with 908 additions and 10 deletions.
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
{
"extends": "next/core-web-vitals"
"extends": [
"@vercel/style-guide/eslint/browser",
"@vercel/style-guide/eslint/node",
"@vercel/style-guide/eslint/typescript",
"@vercel/style-guide/eslint/react",
"@vercel/style-guide/eslint/next"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"settings": {
"import/resolver": {
"typescript": {
"project": "./tsconfig.json"
}
}
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vercel/style-guide": "^6.0.0",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"postcss": "^8",
Expand Down
Loading

0 comments on commit 4803585

Please sign in to comment.