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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue