fix: replace eslint with oxlint (#8677)

* fix: replace eslint with oxlint

* chore: adding max warning

* fix: formatting
This commit is contained in:
sriram veeraghanta 2026-03-03 00:46:05 +05:30 committed by GitHub
parent 41abaffc6e
commit c5542438a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 439 additions and 2466 deletions

View file

@ -11,10 +11,10 @@
"preview": "react-router build && serve -s build/client -l 3001",
"start": "serve -s build/client -l 3001",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist && rm -rf build",
"check:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --max-warnings=485",
"check:lint": "oxlint --max-warnings=758 .",
"check:types": "react-router typegen && tsc --noEmit",
"check:format": "oxfmt --check .",
"fix:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --fix --max-warnings=485",
"fix:lint": "oxlint --fix .",
"fix:format": "oxfmt ."
},
"dependencies": {

View file

@ -19,10 +19,10 @@
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"check:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --max-warnings=160",
"check:lint": "oxlint --max-warnings=119 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",
"fix:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --fix --max-warnings=160",
"fix:lint": "oxlint --fix .",
"fix:format": "oxfmt .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},

View file

@ -10,10 +10,10 @@
"preview": "react-router build && PORT=3002 react-router-serve ./build/server/index.js",
"start": "PORT=3002 react-router-serve ./build/server/index.js",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf .react-router && rm -rf node_modules && rm -rf dist && rm -rf build",
"check:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --max-warnings=932",
"check:lint": "oxlint --max-warnings=675 .",
"check:types": "react-router typegen && tsc --noEmit",
"check:format": "oxfmt --check .",
"fix:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --fix --max-warnings=932",
"fix:lint": "oxlint --fix .",
"fix:format": "oxfmt ."
},
"dependencies": {

View file

@ -10,10 +10,10 @@
"preview": "react-router build && serve -s build/client -l 3000",
"start": "serve -s build/client -l 3000",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf .react-router && rm -rf node_modules && rm -rf dist && rm -rf build",
"check:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --max-warnings=14367",
"check:lint": "oxlint --max-warnings=11957 .",
"check:types": "react-router typegen && tsc --noEmit",
"check:format": "oxfmt --check .",
"fix:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --fix --max-warnings=14367",
"fix:lint": "oxlint --fix .",
"fix:format": "oxfmt ."
},
"dependencies": {