Skip to content

Commit

Permalink
Merge pull request #12 from hiro08gh/chore-replace-biome
Browse files Browse the repository at this point in the history
Chore replace biome lint
  • Loading branch information
hiro08gh authored Aug 25, 2024
2 parents 94606f7 + 45324f4 commit 776f60a
Show file tree
Hide file tree
Showing 20 changed files with 785 additions and 610 deletions.
5 changes: 5 additions & 0 deletions .vscode/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"biomejs.biome"
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit"
}
}
15 changes: 15 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"ignore": [
"dist"
]
}
}
165 changes: 165 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"watch": "tsup src/index.ts --watch",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src"
"lint": "biome lint ./*"
},
"keywords": [
"markdown",
Expand All @@ -23,12 +22,8 @@
"dist"
],
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/jest": "^29.5.10",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.6.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
Expand Down
Loading

0 comments on commit 776f60a

Please sign in to comment.