Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore node_modules in all projects #947

Closed
garyking opened this issue Mar 31, 2018 · 1 comment
Closed

Ignore node_modules in all projects #947

garyking opened this issue Mar 31, 2018 · 1 comment

Comments

@garyking
Copy link

Is it possible to ignore folders, like node_modules, from the home dir config file?

I tried the following but it didn't work. In the ~/.scss-lint.yml file, I put the following:

exclude:
  - '*.css'
  - 'node_modules/**'

This didn't work. It only worked if I put it in a project's .scss-lint.yml file. Is this intentional? I know the docs say the paths are relative to the config file. So this means that it's not possible to exclude node_modules for all projects, since it's definitely something that I don't mind being a global exclude?

@sds sds added the duplicate label Apr 1, 2018
@sds
Copy link
Owner

sds commented Apr 1, 2018

Duplicate of #516. Feel free to contribute to the discussion there, but at its core we are happy to add this if someone submits a pull request!

@sds sds closed this as completed Apr 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants