chore: lint fix

This commit is contained in:
Michael Zetterberg
2024-04-22 06:58:50 +02:00
parent abdc48f57f
commit 14e93eba7c
82 changed files with 282 additions and 160 deletions

View File

@@ -4,10 +4,14 @@
"private": true,
"type": "module",
"scripts": {
"prebuild": "npm run lint",
"build": "next build",
"predev": "rm -rf .next",
"dev": "next dev",
"lint": "next lint && tsc",
"prelint": "rm -rf .next",
"lint": "next lint --max-warnings 0 && tsc",
"prelint:fix": "rm -rf .next",
"lint:fix": "next lint --fix --max-warnings 0 && tsc",
"prepare": "husky",
"start": "node .next/standalone/server.js",
"test:component": "cypress open --component",
@@ -56,6 +60,8 @@
"dotenv": "^16.4.5",
"eslint": "^8",
"eslint-config-next": "^14.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"husky": "^9.0.11",
"jiti": "^1.21.0",
"lint-staged": "^15.2.2",