Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
flycheck definition for sass-lint
(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