Skip to content

Commit

Permalink
feat(prj): add biome formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed Jun 20, 2024
1 parent 1a8c967 commit 4b055f8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto"
},
"organizeImports": { "enabled": true },
"linter": { "enabled": true, "rules": { "recommended": true } },
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}
5 changes: 4 additions & 1 deletion nix/devshells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
...
}:
let
commonPkgs = [ inputs'.phps.packages.env-php82 ];
commonPkgs = [
inputs'.nixpkgs-trunk.legacyPackages.biome
inputs'.phps.packages.env-php82
];
in
{
devShells = {
Expand Down

0 comments on commit 4b055f8

Please sign in to comment.