feat: linting

This commit is contained in:
2025-03-18 19:02:50 -04:00
parent d8de02f789
commit 267d293927
33 changed files with 621 additions and 560 deletions

View File

@ -57,6 +57,7 @@
gotools
gopls
air
revive
# Protobuf middleware
buf
@ -171,6 +172,22 @@
git push origin "''${next_version}"
'';
})
(writeShellApplication {
name = "ts-lint";
text = ''
git_root=$(git rev-parse --show-toplevel)
cd "''${git_root}/client"
npm run check
npm run format
npm run lint
cd "''${git_root}/server"
revive -config revive.toml -formatter friendly ./...
'';
})
];
};