Remove linting (not used)

This commit is contained in:
Mark Spanbroek 2021-05-31 10:00:21 +02:00
parent a793f91130
commit 28b1f26b8e
2 changed files with 0 additions and 17 deletions

View File

@ -1,14 +0,0 @@
#!/usr/bin/env nim
import std/strutils
proc lintFile*(file: string) =
if file.endsWith(".nim"):
exec "nimpretty " & file
proc lintDir*(dir: string) =
for file in listFiles(dir):
lintFile(file)
for subdir in listDirs(dir):
lintDir(subdir)
lintDir(projectDir())

View File

@ -11,6 +11,3 @@ requires "nimcrypto >= 0.5.4 & < 0.6.0"
requires "ngtcp2 >= 0.32.0 & < 0.33.0"
requires "upraises >= 0.1.0 & < 0.2.0"
requires "asynctest >= 0.2.1 & < 0.3.0"
task lint, "format source files according to the official style guide":
exec "./lint.nims"