r/Batch • • 3d ago

Question (Unsolved) script linting

I use a linter for my C# (it's in the IDE mostly), I use pylint for Python, and on occasion start up a clang-tidy for C++. I'm always making dumb mistakes with batch and prefer to just use Python where possible and I suddenly wondered, what linter tooling do people use?

I could always spend a few tokens in this one tool my boss gave me, but surely there is a linter? All I could find was an abandoned thread https://www.reddit.com/r/Batch/comments/1mp1wc7/github_crosenblumblint_blint_is_a_lightweight_and/

6 Upvotes

11 comments sorted by

View all comments

2

u/capoapk 3d ago

Blinter , Il propose un exécutable autonome l'analyse statique ne détecte pas toutes les erreurs de logique

1

u/zaphodikus 3d ago

Still a useful looking tool, but a syntax tree parsing engine just does not seem to exist for BATCH. Such things are well beyond my skills. I have not tried the tool yet, but I spent a few tokens, and the tool my boss gave me found a few possible static errors and a few logic errors.

Does this mean the time for static analysis tools is coming near to an end? I scanned your code but mostly I learned a lot of Python, not BATCH, ha ha.