-
-
Save jsscclr/eb6ad3b945a6e75e907133beafc7bf1c to your computer and use it in GitHub Desktop.
flycheck definition for sass-lint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(flycheck-def-config-file-var flycheck-sass-lintrc sass-lint ".sass-lint.yml" | |
:safe #'stringp | |
:package-version '(flycheck . "0.23")) | |
(flycheck-define-checker sass-lint | |
"A Sass syntax checker using sass-lint. | |
See URL `https://github.com/sasstools/sass-lint'." | |
:command ("sass-lint" "-f" "unix" | |
(config-file "-c" flycheck-sass-lintrc) | |
"-v" "-q") | |
:standard-input t | |
:error-patterns | |
((error line-start (file-name) ":" line ":" column ": " (message) line-end)) | |
:modes sass-mode | |
:next-checkers ((error . sass) | |
(warning . sass))) | |
(add-to-list 'flycheck-checkers 'sass-lint) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment