Skip to content

Commit

Permalink
feat(deps): ✨ replaced prettier with biome
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit committed Mar 16, 2024
1 parent ef1318d commit 4860f95
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 3 deletions.
33 changes: 33 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"include": [
"./src/**/*.ts"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 80,
"ignore": []
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "always",
"trailingComma": "all",
"quoteProperties": "asNeeded"
}
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"format": "prettier --write .",
"format": "biome check --apply ./src",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@biomejs/biome": "^1.6.1",
"@types/node": "^20.11.28",
"@vitest/coverage-v8": "^1.4.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"prettier": "^3.2.5",
"semantic-release": "^23.0.4",
"tsup": "^8.0.2",
"typescript": "^5.4.2",
Expand Down Expand Up @@ -109,4 +109,4 @@
"@semantic-release/github"
]
}
}
}
91 changes: 91 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 4860f95

Please sign in to comment.