# How to configure linter to ignore 3rd party packages?

**URL:** https://discourse.roots.io/t/how-to-configure-linter-to-ignore-3rd-party-packages/14737
**Category:** sage
**Tags:** eslint
**Created:** 2019-02-02T12:25:28Z
**Posts:** 4

## Post 1 by @Xuan_Cheng_Lai — 2019-02-02T12:25:28Z

I’m adding Font Awesome following [this post](https://roots.io/sage/docs/theme-development-and-building/#available-build-commands) 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?

---

## Post 2 by @codepuncher — 2019-02-02T14:11:51Z

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](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md#ignorefiles)

---

## Post 3 by @botta — 2019-02-02T14:14:46Z

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

---

## Post 4 by @ben — 2019-02-02T20:21:35Z

> [@Xuan_Cheng_Lai](#):
>
> I’m adding Font Awesome following [this post](https://roots.io/sage/docs/theme-development-and-building/#available-build-commands) importing it into `main.scss`

I would follow this:

> **[How to: Use Font Awesome 5 in your Sage theme](https://discourse.roots.io/t/how-to-use-font-awesome-5-in-your-theme/11737)**
>
> Use Font Awesome 5 in a Sage 9 theme, loading SVGs via the advanced JavaScript API to take advantage of tree shaking. (Tree shaking is a code optimization process that trims unused pieces from bundled assets. In other words, if you only use two...

---

## Post 5 by @system — 2019-03-16T12:25:32Z

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