Skip to content

How does this compare to Import Linter? #72

Answered by caelean
brianmedigate asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Brian - that's a great question! I'll do a longer writeup in the future (and add it to the FAQ), but TLDR:

  • Tach supports a strict interface for packages; Import Linter does not.
  • Tach automatically analyzes your existing set of imports to get you to a passing set of definitions (tach sync); Import Linter requires you to do this manually.
  • The configuration and setup are very different. Import linter relies on a handwritten ruleset, while Tach utilizes an interactive cli to set itself up.
  • At it's core, Import Linter operates on 'contracts', while Tach operates on 'tags'. By using tags, Tach allows you to describe one rule for many packages.

Let me know if you have any more q's! Would l…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brianmedigate
Comment options

@caelean
Comment options

Answer selected by caelean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants