tighten / duster

Automatic configuration for Laravel apps to apply Tighten's standard linting & code standards.
MIT License
490 stars 15 forks source link

Skip line in Tlint #155

Closed Jonyorker closed 3 months ago

Jonyorker commented 3 months ago

I have some code that I can't reformat, is there a way to skip a line from being linted?

Similar to // @phpstan-ignore-next-line

Thanks!

driftingly commented 3 months ago

Hi, @Jonyorker; there isn't a way to skip only part of a file in TLint. You'll have to exclude the whole file using a tlint.json file.