Comment by ch4s3

18 hours ago

You could probably add linting rules to your tool of choice and tell claude that your lint tool has to pass.

but then no human generated comments allowed either, right?

  • I'd do this by only running the linter locally and using this as a custom rule for the LLM, but I need to think about it a bit harder.

    • There is probably something you can do to only apply some rules to the actual changed lines in a git diff.

      You may have to write your own linter for that specifically.

      3 replies →