PrincetonUniversity / blocklint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow skipping particular lines

feinbd opened this issue · comments

I have a line that reads a table from a database which has the word "master" in it. I obviously can't change this. I need a way to flag this line as not to be checked by blocklint, not the whole file. I don't see a way to do this.

If you can add an inline comment, any line ending in blocklint: pragma will be ignored. This was added with PR #6 and an example is here. I apologize that the feature didn't get put into the readme!

I'll leave this open to remind me to add a section to the readme. I hope the pragma resolves your issue, otherwise let me know more details.

This works, thank you!