Open celsomtrindade opened 7 years ago
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.
allFiles
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?
🤔 Interesting, can you give me some of the console output when the task is run verbosely?
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:
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?