Skip to content

Commit

Permalink
devenv: Replace rome with biome
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSensor committed Sep 26, 2023
1 parent db0157e commit 1450286
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion rome.json → biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "https://docs.rome.tools/schemas/12.1.0/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"formatter": { "indentStyle": "space" }
}
2 changes: 1 addition & 1 deletion examples/javascript/devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ with lib; {

languages.deno.enable = true;

packages = with pkgs; [ gnumake watchexec ] ++ [ rome ];
packages = with pkgs; [ gnumake watchexec ];

pre-commit = mkIf (!env ? CI) {
hooks.editorconfig-checker.enable = true;
Expand Down
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@
# Just temporary for .github/workflows/check.yaml
# Eventually it will perform browser test that most likely require devShells.default as a whole.
devenv.shells.check = {
packages = with pkgs; [ rome taplo luajitPackages.luacheck eclint ];
packages = with pkgs; [
biome
taplo
luajitPackages.luacheck
eclint
];
};

devShells.CI-check = mkShell {
Expand Down

0 comments on commit 1450286

Please sign in to comment.