Skip to content

Commit

Permalink
switch from biome to neostandard
Browse files Browse the repository at this point in the history
  • Loading branch information
nahtnam committed Nov 23, 2024
1 parent 8e3af26 commit b445683
Show file tree
Hide file tree
Showing 10 changed files with 3,975 additions and 654 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 'latest'
version: "latest"

- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
cache: "pnpm"

- run: pnpm install

Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default {};
29 changes: 0 additions & 29 deletions biome.json

This file was deleted.

7 changes: 7 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import neostandard, { resolveIgnoresFromGitignore } from "neostandard";

export default neostandard({
ignores: resolveIgnoresFromGitignore(),
ts: true,
noStyle: true,
});
5 changes: 0 additions & 5 deletions lefthook.yaml

This file was deleted.

20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
"build": "concurrently pnpm:build:*",
"build:next": "next build",
"ci:test": "concurrently pnpm:ci:test:*",
"ci:test:lint": "biome check .",
"ci:test:lint": "eslint .",
"ci:test:pretty": "prettier --check .",
"ci:test:typecheck": "tsc --noEmit",
"dev": "concurrently pnpm:dev:*",
"dev:next": "next dev --turbo",
"prepare": "husky",
"start": "concurrently pnpm:start:*",
"start:next": "next start",
"test": "concurrently pnpm:test:*",
"test:lint": "biome check . --write --unsafe",
"test:lint": "eslint --fix .",
"test:pretty": "prettier --write .",
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
Expand All @@ -26,16 +30,26 @@
"tailwind-merge": "^2.5.2"
},
"devDependencies": {
"@biomejs/biome": "1.9.2",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^22.7.4",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"concurrently": "^9.0.1",
"daisyui": "^4.12.10",
"eslint": "^9.15.0",
"husky": "^9.1.7",
"lefthook": "^1.7.18",
"lint-staged": "^15.2.10",
"neostandard": "^0.11.8",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2"
},
"lint-staged": {
"*": [
"eslint --fix",
"prettier --ignore-unknown --write"
]
}
}
Loading

0 comments on commit b445683

Please sign in to comment.