feat: adds linting

This commit is contained in:
Iain Learmonth 2025-05-27 14:12:17 +01:00
parent c98331150c
commit 345a9a0608
6 changed files with 142 additions and 4 deletions

32
flake.nix Normal file
View file

@ -0,0 +1,32 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
with pkgs;
{
devShells.default = mkShell {
buildInputs = [
git
markdownlint-cli
nixfmt-rfc-style
just
];
};
}
);
}