Commit Graph
12 Commits
Author SHA1 Message Date
Thibault Duplessis 54b11f7e32 let pre-commit lint-stage find the config on its own
as the explicit path doesn't seem to work the same on all platform,
either looking from $ROOT or from $ROOT/ui
2026-03-22 10:21:24 +01:00
Thibault Duplessis e606451087 try the devenv lint-staged if node_modules/.bin is absent 2026-03-11 15:34:03 +01:00
Simek b522246663 workspace: fix lint-staged configs, lint styles, add scalafmt command 2026-03-02 11:17:30 +01:00
Jonathan Gamble 075df089af resume ci linting and move code style configs to ui, except .prettierignore 2024-12-28 18:04:04 -06:00
Isaac Levy 954d915c62 Fix lint-staged comments 2024-11-04 12:05:57 -05:00
Jonathan Gamble 49651af368 lint-staged doesnt actually support async, their github lies 2024-10-26 15:42:15 -05:00
Isaac Levy 2cc706c094 Further speed up pre-commit hook.
It's super annoying for scala changes!!

Note: '//' is an explicitly supported key in package.json for top-level
comments.
2024-09-21 17:22:59 -04:00
Isaac Levy 1e06bc6f00 Speed up pre-commit hook
$ time pnpm lint-staged
pnpm lint-staged  0.29s user 0.06s system 105% cpu 0.331 total
$ time npx lint-staged
npx lint-staged  0.29s user 0.08s system 110% cpu 0.330 total
$ time node_modules/.bin/lint-staged
node_modules/.bin/lint-staged  0.12s user 0.04s system 104% cpu 0.144 total
2024-09-21 13:32:12 -04:00
Jonathan Gamble c6814c55cf . 2023-08-19 09:45:45 -05:00
Jonathan Gamble a663c01c4e recreate pre-commit 2023-08-19 06:14:37 -05:00
Jonathan Gamble c2b47df26d fix npm links 2023-08-19 06:11:14 -05:00
Jonathan Gamble 72d993c45d opt git hooks format on commit & link on push 2023-08-15 02:28:29 -05:00