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

Task watch files outside of specified folder #142

Open
celsomtrindade opened this issue Oct 29, 2016 · 1 comment
Open

Task watch files outside of specified folder #142

celsomtrindade opened this issue Oct 29, 2016 · 1 comment

Comments

@celsomtrindade
Copy link

celsomtrindade commented Oct 29, 2016

When I run the scsslint task, it's validating multiple .scss files, including those outside the specified folder inside allFiles. However, inside the options object, the exclude method is working fine, excluding the specified directory.

This is my config:

scsslint: {
    allFiles: [
        './dev/portal/styles/sass/**/*.scss'
    ],
    options: {
        config: './grunt/.scss-lint.yml',
        reporterOutput: './dev/portal/styles/scss-lint-report.xml',
        reporterOutputFormat: 'xml',
        exclude: './dev/portal/styles/sass/main.scss'
    }
}

It's reading even .scss files inside the node_modules folder, wich has nothing to do with my project at all. Is there anything I'm doing wrong?

@ahmednuaman
Copy link
Owner

🤔 Interesting, can you give me some of the console output when the task is run verbosely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants