feat: replace eslint and prettier with biome

This commit is contained in:
Andrea
2024-10-05 22:56:41 +02:00
parent 75cccd1a44
commit d6b640ca33
13 changed files with 260 additions and 119 deletions

View File

@@ -5,9 +5,10 @@
"scripts": {
"build": "remix vite:build",
"dev": "remix vite:dev",
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "remix-serve ./build/server/index.js",
"typecheck": "tsc"
"typecheck": "tsc",
"lint": "biome lint",
"format": "biome format --write"
},
"dependencies": {
"@code-hike/mdx": "0.9.0",
@@ -25,14 +26,13 @@
"remark-mdx-frontmatter": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@mdx-js/rollup": "3.0.1",
"@remix-run/dev": "2.12.1",
"@tailwindcss/typography": "0.5.15",
"@types/eslint": "9.6.1",
"@types/react": "18.3.8",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.20",
"eslint": "9.11.0",
"postcss": "8.4.47",
"tailwindcss": "3.4.12",
"typescript": "5.6.2",