Merged in chore/migrate-from-next-lint (pull request #3263)

chore: Migrate from next lint to eslint

* Migrate scandic-web

* Migrate partner-sas

* Enable any rule in partner-sas


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-12-02 10:08:56 +00:00
parent be28982e73
commit 5da3e457cb
18 changed files with 62 additions and 30 deletions

View File

@@ -6,8 +6,8 @@
"scripts": {
"build": "next build",
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev --turbo",
"lint": "next typegen && next lint --max-warnings 0 && tsc",
"lint:fix": "next typegen && next lint --fix --max-warnings 0 && tsc",
"lint": "next typegen && eslint --max-warnings 0 . && tsgo --noEmit",
"lint:fix": "next typegen && eslint --fix --max-warnings 0 . && tsgo --noEmit",
"start": "node .next/standalone/server.js",
"test:setup": "yarn build && yarn start",
"preinstall": "/bin/sh -c \"export $(cat .env.local | grep -v '^#' | xargs)\"",
@@ -48,6 +48,7 @@
"@tsparticles/confetti": "^3.8.1",
"@types/geojson": "^7946.0.16",
"@types/supercluster": "^7.1.3",
"@typescript/native-preview": "^7.0.0-dev.20251104.1",
"@vis.gl/react-google-maps": "^1.5.2",
"class-variance-authority": "^0.7.1",
"client-only": "^0.0.1",
@@ -87,7 +88,6 @@
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@formatjs/cli": "^6.7.1",
"@lokalise/node-api": "^14.0.0",