leny / atom-w3c-validation

Validate your HTML and CSS files using W3C validators.
MIT License
12 stars 5 forks source link

Request: allow to ignore file or portion of code #12

Open monkeymonk opened 9 years ago

monkeymonk commented 9 years ago

It should be nice to have something like JSHint :

// Code here will be linted with JSHint.
/* jshint ignore:start */
// Code here will be ignored by JSHint.
/* jshint ignore:end */

Keep in mind that if there is no /* jshint ignore:end */, he will ignore everything to the end of file. Thus allowing to ignore a complete file ! ;-)

leny commented 8 years ago

Hi, thanks for the report. For now, I'm quite busy with some pro work. I will not be able to review this until january. Feel free to investigate and submit a Pull Request if you find something!

pixmin commented 8 years ago

Being able to not use this package with files that are not HTML or CSS is a must, saving anything like a PHP file will trigger W3C errors. Otherwise great package!