Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by devmor

17 hours ago

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 comments

devmor

Reply

notsirius  16 hours ago

you'd probs want a commit hook for that

  • unleaded  14 hours ago

    Does "don't write comments" not work?

    • jaggederest  12 hours ago

      about as effective as don't make mistakes... For anthropic's models at least

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities