-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakes.nix
38 lines (38 loc) · 827 Bytes
/
makes.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# For more information visit:
# https://github.com/fluidattacks/makes
{ fetchNixpkgs, ... }:
let
nixpkgs = fetchNixpkgs {
rev = "4a92571f9207810b559c9eac203d1f4d79830073";
sha256 = "sha256:0sp7qjbb7dvrh4zvd40i6y7jwsd1v1qj44f0c95q88g7fikda8gq";
};
in {
extendingMakesDirs = [ "/" ];
formatBash = {
enable = true;
targets = [ "/" ];
};
formatNix = {
enable = true;
targets = [ "/" ];
};
formatYaml = {
enable = true;
targets = [ "/.github/workflows/" ];
};
lintBash = {
enable = true;
targets = [ "/" ];
};
lintGitCommitMsg = {
branch = "main";
enable = true;
config = "/.lint-git-commit-msg/config.js";
parser = "/.lint-git-commit-msg/parser.js";
};
lintNix = {
enable = true;
targets = [ "/" ];
};
inputs = { inherit nixpkgs; };
}