Skip to content

Commit 2904e3d

Browse files
committed
remove nix-linter as it's unmaintained
1 parent 4018541 commit 2904e3d

File tree

4 files changed

+2
-24
lines changed

4 files changed

+2
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
name: pre-commit-hooks
1717
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
18-
- run: nix-build
18+
- run: nix-build --keep-going
1919
tests-flakes:
2020
strategy:
2121
matrix:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ use nix
8484
- [deadnix](https://github.com/astro/deadnix)
8585
- [nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt)
8686
- [nixfmt](https://github.com/serokell/nixfmt/)
87-
- [nix-linter](https://github.com/Synthetica9/nix-linter)
8887
- [statix](https://github.com/nerdypepper/statix)
8988

9089
## Haskell

modules/hooks.nix

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,6 @@ in
118118
default = { };
119119
};
120120
};
121-
nix-linter =
122-
{
123-
checks =
124-
mkOption {
125-
type = types.listOf types.str;
126-
description = lib.mdDoc
127-
"Available checks. See `nix-linter --help-for [CHECK]` for more details.";
128-
default = [ ];
129-
};
130-
};
131121
nixfmt =
132122
{
133123
width =
@@ -547,16 +537,6 @@ in
547537
files = "\\.nix$";
548538
pass_filenames = false;
549539
};
550-
nix-linter =
551-
{
552-
name = "nix-linter";
553-
description = "Linter for the Nix expression language.";
554-
entry =
555-
"${tools.nix-linter}/bin/nix-linter ${
556-
lib.escapeShellArgs (lib.concatMap (check: [ "-W" "${check}" ]) settings.nix-linter.checks)
557-
}";
558-
files = "\\.nix$";
559-
};
560540
elm-format =
561541
{
562542
name = "elm-format";

nix/tools.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
, hunspell
2525
, luaPackages
2626
, mdsh
27-
, nix-linter
2827
, nixfmt
2928
, nixpkgs-fmt
3029
, nodePackages
@@ -54,7 +53,7 @@ let
5453
};
5554
in
5655
{
57-
inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nix-linter nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive go-tools;
56+
inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive go-tools;
5857
inherit (elmPackages) elm-format elm-review elm-test;
5958
# TODO: these two should be statically compiled
6059
inherit (haskellPackages) fourmolu;

0 commit comments

Comments
 (0)