Skip to content

Commit e2c2934

Browse files
nix: remove postgrest-lint
Superseded by treefmt.
1 parent 922ce79 commit e2c2934

5 files changed

Lines changed: 2 additions & 35 deletions

File tree

.github/workflows/check.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
uses: ./.github/actions/setup-nix
2626
with:
2727
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
28-
tools: hsie style.lint.bin treefmtNix.wrapper
29-
- name: Run linter (check locally with `nix-shell --run postgrest-lint`)
30-
run: postgrest-lint
28+
tools: hsie treefmtNix.wrapper
3129
- name: Run treefmt
3230
run: treefmt --ci
3331
- name: Checking consistency of import aliases in Haskell code

default.nix

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ rec {
142142

143143
# Development tools.
144144
devTools =
145-
pkgs.callPackage nix/tools/devTools.nix { inherit tests style devCabalOptions hsie treefmtNix; };
145+
pkgs.callPackage nix/tools/devTools.nix { inherit tests devCabalOptions hsie treefmtNix; };
146146

147147
# Documentation tools.
148148
docs =
@@ -164,10 +164,6 @@ rec {
164164
release =
165165
pkgs.callPackage nix/tools/release.nix { };
166166

167-
# Linting tools.
168-
style =
169-
pkgs.callPackage nix/tools/style.nix { inherit hsie; };
170-
171167
# Scripts for running tests.
172168
tests =
173169
pkgs.callPackage nix/tools/tests.nix {

nix/tools/devTools.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
, hsie
1111
, nix
1212
, stdenv
13-
, style
1413
, tests
1514
, treefmtNix
1615
, haskellPackages
@@ -87,7 +86,6 @@ let
8786
${tests}/bin/postgrest-test-io
8887
${tests}/bin/postgrest-test-big-schema
8988
${tests}/bin/postgrest-test-replica
90-
${style}/bin/postgrest-lint
9189
'';
9290

9391
dumpMinimalImports =

nix/tools/style.nix

Lines changed: 0 additions & 24 deletions
This file was deleted.

shell.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ let
2323
postgrest.loadtest
2424
postgrest.nixpkgsTools
2525
postgrest.release
26-
postgrest.style
2726
postgrest.tests
2827
postgrest.withTools
2928
]

0 commit comments

Comments
 (0)