Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get proper linting for SCSS files using SublimeLinter

I'm constantly having to disable linting when working with SCSS files in Sublime Text 2.

Anyone know of a way to get proper linting for SCSS files in ST2?

Thanks.

like image 201
evanmcd Avatar asked Jul 19 '12 14:07

evanmcd


People also ask

What is SCSS lint?

scss-lint is a tool to help keep your SCSS files clean and readable by running it against a collection of configurable linter rules. You can run it manually from the command line, or integrate it into your SCM hooks.

How to add linting in Sublime text?

You can install any package control in Sublime Text editor using the shortcut key combination Ctrl+Shift+P, and selecting the Package Control: Install Package option. Select the associated package to install in Sublime Text editor. To install Sublime Linter, you need to select the option of SublimeLinter plugin.


2 Answers

As of this writing, there is no linter available for SCSS.

like image 167
KatieK Avatar answered Oct 28 '22 04:10

KatieK


I have recently found this add on for sublime linter to add SCSS syntax

https://sublime.wbond.net/packages/SublimeLinter-contrib-scss-lint

like image 23
user1095118 Avatar answered Oct 28 '22 04:10

user1095118