Properly setup biome import

This commit is contained in:
2025-01-25 16:53:39 +01:00
parent 5cf5d46389
commit dbc0264579
2 changed files with 32 additions and 32 deletions
Generated
+24 -24
View File
@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737635686, "lastModified": 1737670815,
"narHash": "sha256-7Fln0izv3s25MpfTr3OCnnHbFioxD7vVlTB1T4IqJT0=", "narHash": "sha256-ZCxxshGN7XooabArcoGkYSNx5yVunqjKJi2aTv6cznI=",
"owner": "aylur", "owner": "aylur",
"repo": "astal", "repo": "astal",
"rev": "907230e479ba6c9489463797f81c7348ed754302", "rev": "127e9cdcbf173846a3c40ddc0abfbb038df48042",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -172,11 +172,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1737606723, "lastModified": 1737779447,
"narHash": "sha256-imzoApuVpFNyQbBBjTfbFBeo/elX0moFgXrxJEWFCDo=", "narHash": "sha256-+iVqQXAUJshUYgxOHfke54Ux4f/aggl1yub86KNx2tE=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "ghostty", "repo": "ghostty",
"rev": "eb21a58aa4dc59dd2a0fbd026cf7cd842f0f07ed", "rev": "71e62f96fa4d286eda835048428d5be96e9f87c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -259,11 +259,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737630279, "lastModified": 1737762889,
"narHash": "sha256-wJQCxyMRc4P26zDrHmZiRD5bbfcJpqPG3e2djdGG3pk=", "narHash": "sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0db5c8bfcce78583ebbde0b2abbc95ad93445f7c", "rev": "daf04c5950b676f47a794300657f1d3d14c1a120",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -317,11 +317,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1737614530, "lastModified": 1737763478,
"narHash": "sha256-s5+trj2UfrIWlrCm+hKDB5+36kY5scH9MxM9zfU+4qc=", "narHash": "sha256-fohNScp0mg8eUugIoqcLhy7tnUJ7CxhcVomizNqj5b8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "7d9aaf2f175602b8511e4c5134c4a975628c6948", "rev": "8a11d160b76ea8dc76ac3356140010e38fef0ab5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -333,11 +333,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1737560784, "lastModified": 1737716271,
"narHash": "sha256-bW3ub7hI5Ml+4cFErZvlbbQNDmmycoroRYYAegj33qo=", "narHash": "sha256-7bgefXUOc5AVXSZ4E+0YzJKW4c+tDj1ttmDoZN1BhPs=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "af0ef2ac9dd19b7c4005a3197334d3e7d554646c", "rev": "c6d2cbf8f51abfa0c9d244ef384a15b0b69e16c6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -388,11 +388,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1737590910, "lastModified": 1737751639,
"narHash": "sha256-qM/y6Dtpu9Wmf5HqeZajQdn+cS0aljdYQQQnrvx+LJE=", "narHash": "sha256-ZEbOJ9iT72iwqXsiEMbEa8wWjyFvRA9Ugx8utmYbpz4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9368027715d8dde4b84c79c374948b5306fdd2db", "rev": "dfad538f751a5aa5d4436d9781ab27a6128ec9d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -425,11 +425,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737469691, "lastModified": 1737632463,
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab", "rev": "0aa475546ed21629c4f5bbf90e38c846a99ec9e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -533,11 +533,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737605126, "lastModified": 1737777899,
"narHash": "sha256-3VRj6hLnosxNiVHMWEu4hetBIy2MZETYwyaAcee2cY8=", "narHash": "sha256-b8TfX56cji+8/132YzTJGnO5mnJsf698pxXmXnTYV5Q=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "cf63c0e02e8ff52a01dc1c74dba68d88aa783e4d", "rev": "d0164e6b580df62d311929a2a863b2d6f10077ec",
"type": "github" "type": "github"
}, },
"original": { "original": {
+8 -8
View File
@@ -21,13 +21,13 @@ return {
return { "isort", "black" } return { "isort", "black" }
end end
end, end,
javascript = { "biome", "prettierd", "prettier", stop_after_first = true }, javascript = { "biome-check", "prettierd", "prettier", stop_after_first = true },
typescript = { "biome", "prettierd", "prettier", stop_after_first = true }, typescript = { "biome-check", "prettierd", "prettier", stop_after_first = true },
javascriptreact = { "biome", "prettierd", "prettier", stop_after_first = true }, javascriptreact = { "biome-check", "prettierd", "prettier", stop_after_first = true },
typescriptreact = { "biome", "prettierd", "prettier", stop_after_first = true }, typescriptreact = { "biome-check", "prettierd", "prettier", stop_after_first = true },
json = { "biome", "prettierd", "prettier", stop_after_first = true }, json = { "biome-check", "prettierd", "prettier", stop_after_first = true },
css = { "biome", "prettierd", "prettier", stop_after_first = true }, css = { "biome-check", "prettierd", "prettier", stop_after_first = true },
html = { "biome", "prettierd", "prettier", stop_after_first = true }, html = { "biome-check", "prettierd", "prettier", stop_after_first = true },
sql = { "pg_format" }, sql = { "pg_format" },
cs = { "csharpier" }, cs = { "csharpier" },
nix = { "alejandra" }, nix = { "alejandra" },
@@ -35,7 +35,7 @@ return {
["*"] = { "injected" } ["*"] = { "injected" }
}, },
formatters = { formatters = {
biome = { ["biome-check"] = {
-- disable node module search since native binaries can't be run from nix -- disable node module search since native binaries can't be run from nix
command = "biome", command = "biome",
}, },