martin-helmich / typo3-typoscript-lint

Find coding errors in your TypoScript files.
MIT License
82 stars 19 forks source link

Allow to disable sniffs in files with a comment #128

Open mmunz opened 2 years ago

mmunz commented 2 years ago

Sometimes it would be helpful to disable certain sniffs directly inside files with comments.

For example in stylelint you can disable certain checks inside css files with:

/* stylelint-disable declaration-no-important */
.myclass {display block !important}
/* stylelint-enable */

Would this be a feature you would consider to implement?

fnagel commented 11 months ago

I agree, this would be very helpful!