landscape icon indicating copy to clipboard operation
landscape copied to clipboard

Move linting & prettier checks to CI pipeline

Open jamesacklin opened this issue 3 years ago • 3 comments

commit: urbit/urbit@c5393bc

There are a litany of woes surrounding Husky, in which our pre-commit TS lint and formatting hook results in poor developer experience and lots of frustration.

From @eamsden:

CI is the place to enforce QA, but it should be possible for developers to easily run the same QA checks locally git hooks are a very bad place to enforce QA, as they then militate against a major use of [VCS] which is to commit often so you don't lose experimental/draft work.

From @Fang- :

hah i actually got frustrated and nuked my urbit/urbit/.git/hooks yesterday

From @philipcmonk, perhaps most salient:

about ready to murder whoever added husky don't even know what it does, it just always causes pain git checkout should always succeed

Three strikes is an issue, so let's investigate moving this step to the CI pipeline, rather than as a pre-commit hook.

jamesacklin avatar Sep 15 '21 13:09 jamesacklin

Afaik we've been using it for a while in landscape. I then added it to btc-wallet and that triggered a conversation about how to manage it globally, which resulted in this PR: https://github.com/urbit/urbit/pull/5073

finned-palmer avatar Sep 15 '21 14:09 finned-palmer

Quoth @liam-fitzgerald:

The correlation between Landscape's quality and the stringency of the CI system is nearly 1:1. Let's fix this for real. Please.

jamesacklin avatar Jan 20 '22 19:01 jamesacklin

@mwvd Exorcise this demon for us.

jamesacklin avatar Mar 28 '22 20:03 jamesacklin