Multiple yaml files for SCSS linting?

Is there any way to use either of 2 yaml files for SCSS linting depending on a certain condition (like a comment inside the scss files)?

Or can something similar maybe be achieved via File Watchers (i.e. triggering the linting not inside the IDE but in the terminal then)?

4 comments
Comment actions Permalink

Could you please describe your workflow with SCSS linting? It seems to be not implemented yet so I guess you're using 3rd party plugin? 

Probably somebody else is aware of such option.

0
Comment actions Permalink

Hey Dmitry, we use the scss-lint plugin and point it to an SCSS Lint exe and scsslint.yaml.

Due to a change in our approach we temporarily use two yaml files with different linter configurations. This works well outside the IDE (we add a comment to the files with the new approach and checkt for it in the bash script for our pre-commit hook for example), but it would be nice to somehow get something similar inside of it as well.

0
Comment actions Permalink

This is a third-party plugin JetBrains is not responsible for. You can try asking your question at https://github.com/idok/scss-lint-plugin/issues

0
Comment actions Permalink

Thanks, Elena. I'm aware it is a third-party plugin. I just thought that in this community forum someone might have some input.

0

Please sign in to leave a comment.