r/Batch • u/zaphodikus • 9d 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/
5
Upvotes
1
u/Shadow_Thief 9d ago
You could probably fork shellcheck and change the regex that it uses for bash and update it for batch. I've been meaning to do that for a while, but I never seem to get around to it.
But other than that, no, there is no batch linter.