improve linting - add oxlint and simplify config

This commit is contained in:
Kim, Jimin 2025-03-18 14:07:10 +09:00
parent 21cd1d51a8
commit d592fa6468
Signed by: pomp
GPG key ID: D3932F82A0667A3B
13 changed files with 120 additions and 65 deletions

View file

@ -4,8 +4,8 @@
"type": "module",
"scripts": {
"dev": "nodemon -e md --watch markdown --exec pnpm build",
"lint": "oxlint && eslint .",
"build": "rm -rf dist build && tsup && node build/index.js",
"lint": "eslint .",
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo build dist node_modules"
},
"dependencies": {
@ -21,7 +21,6 @@
"@types/rss": "^0.0.32",
"@types/tinycolor2": "^1.4.6",
"elasticlunr": "^0.9.5",
"eslint": "^8.56.0",
"gray-matter": "^4.0.3",
"jsdom": "^24.0.0",
"markdown-toc": "^1.2.0",