How to configure linter to ignore 3rd party packages?

I’m adding Font Awesome following this post importing it into main.scss

But after this, I’m not able to build the project anymore, because the styles lint is scanning the Font Awesome code and it’s failing.

How can I configure to ignore 3rd party package?

Take a look at the Stylelint docs for excluding files from being linted: https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md#ignorefiles

Could /* stylelint-disable */ at the beginning of the 3rd party style sheet help?
Or you could try with a “.stylelintrc.json” and ignore styles.

1 Like

I would follow this:

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.