1

This post shows how to enable eslint for specific files.

I would like to take a similar approach with stylelint.

This config works to ignore all of my css files in that directory:

"stylelint.configOverrides": {
  "ignoreFiles": "assets/styles/**"
}

Is there a way to include style linting on one (or more files) in my assets/styles directory?

Thanks!

SeanPlusPlus
  • 8,663
  • 18
  • 59
  • 84

1 Answers1

0

Turns out that stylelintignore can be configured the same was as eslintignore!

SeanPlusPlus
  • 8,663
  • 18
  • 59
  • 84