improve linting - add oxlint and simplify config
This commit is contained in:
parent
21cd1d51a8
commit
d592fa6468
13 changed files with 120 additions and 65 deletions
|
@ -5,9 +5,9 @@
|
|||
"scripts": {
|
||||
"dev": "open-cli http://localhost:3000 && pnpm dev:headless",
|
||||
"dev:headless": "next dev",
|
||||
"lint": "oxlint && next lint",
|
||||
"build": "next build",
|
||||
"postbuild": "next-sitemap && cp ../../packages/content/dist/rss.xml public/rss.xml",
|
||||
"lint": "next lint",
|
||||
"test:e2e": "playwright test",
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .next .turbo build node_modules test-results"
|
||||
},
|
||||
|
@ -33,7 +33,6 @@
|
|||
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||||
"@typescript-eslint/parser": "^6.15.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-next": "^14.2.3",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"highlight.js": "^11.9.0",
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"lint": "oxlint && eslint .",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"dev:headless": "vite dev --no-open",
|
||||
"lint": "oxlint && eslint .",
|
||||
"build": "vite build",
|
||||
"test:unit": "TZ=UTC jest",
|
||||
"test:e2e": "playwright test",
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo .svelte-kit test-results build node_modules vite.config.ts.timestamp-*",
|
||||
"lint": "eslint ."
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo .svelte-kit test-results build node_modules vite.config.ts.timestamp-*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pompydev/eslint-config": "workspace:*",
|
||||
|
@ -28,7 +28,6 @@
|
|||
"@typescript-eslint/parser": "^6.15.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"dayjs": "^1.11.10",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||
"eslint-plugin-svelte": "^2.38.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue