Skip to content

Commit

Permalink
fix(ci): configure nextjs linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mednoob authored and mzrtamp committed Mar 7, 2024
1 parent b4f9c7c commit bafc554
Show file tree
Hide file tree
Showing 3 changed files with 1,138 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "npm run lint && npm run compile",
"compile": "tsc --build tsconfig.json",
"lint": "eslint . --ignore-path .gitignore --ext .ts",
"lint": "next lint",
"lint:fix": "npm run lint -- --fix",
"start": "node --es-module-specifier-resolution=node .",
"start:dev": "rimraf ./dist && npm run compile && npm start",
Expand Down Expand Up @@ -40,6 +40,7 @@
"@typescript-eslint/parser": "^6.21.0",
"autoprefixer": "^10.4.17",
"eslint": "^8.57.0",
"eslint-config-next": "14.1.3",
"postcss": "^8.4.35",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
Expand Down
Loading

0 comments on commit bafc554

Please sign in to comment.