You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use a config file that is in a different repo (for example, node_modules) then ignore path seems to be confused as to where it is. I have a project that gets it's front end from a private node_module and I set the config path in my gruntfile to configFile: 'node_modules/my-repo/.sass-lint.yml'.
Inside that sass-lint.yml I have include and ignore rules:
The include works as expected, but the ignore doesn't.
The ignore does work if I explicitly set the path to 'node_modules/my-repo/src/src/stylesheets/common/generated/*/.scss'. However, that's not a solution as I need to be able to run the linting from the repo itself, as well as from the project that consumes the node_module.
The text was updated successfully, but these errors were encountered:
When you use a config file that is in a different repo (for example, node_modules) then ignore path seems to be confused as to where it is. I have a project that gets it's front end from a private node_module and I set the config path in my gruntfile to
configFile: 'node_modules/my-repo/.sass-lint.yml'
.Inside that sass-lint.yml I have include and ignore rules:
The include works as expected, but the ignore doesn't.
The ignore does work if I explicitly set the path to 'node_modules/my-repo/src/src/stylesheets/common/generated/*/.scss'. However, that's not a solution as I need to be able to run the linting from the repo itself, as well as from the project that consumes the node_module.
The text was updated successfully, but these errors were encountered: