CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

SCSS Lint Integration

Open geebru opened this issue 10 years ago • 15 comments

Any chance we might see other Linting operations in the future, such as SCSS lint?

geebru avatar Aug 22 '14 13:08 geebru

Well, it's really not needed because if you make any errors in your Sass file, it won't compile.

This is different than JavaScript, which is not a compiled language and therefore you can easily have errors make it to production code.

bdkjones avatar Aug 22 '14 19:08 bdkjones

For outright errors yeah, but I mean in the realm of setting SCSS "rules" such as only use SCSS comments, lower case class names, etc. that are more personalized. That would require a significant addition though as options for each available checking point would be needed.

IE, more in the realm of checking for nice SCSS / standards rather than only errors.

geebru avatar Aug 23 '14 21:08 geebru

Ah, I can see the use-case for style enforcement. Is there a good Sass linter available anywhere?

On 23 Aug 2014, at 14:16, Greg B. [email protected] wrote:

For outright errors yeah, but I mean in the realm of setting SCSS "rules" such as only use SCSS comments, lower case class names, etc. that are more personalized. That would require a significant addition though as options for each available checking point would be needed.

IE, more in the realm of checking for nice SCSS / standards rather than only errors.

— Reply to this email directly or view it on GitHub.

bdkjones avatar Aug 24 '14 20:08 bdkjones

I've had my eye on this - https://github.com/causes/scss-lint

Still doing some tests with it when I have time in between projects but seems to be the best out there.

geebru avatar Aug 25 '14 13:08 geebru

@geebru that's an excellent implementation.

I would be interested in this feature as well, however, it is quite opinionated and will throw errors on you continuously. But I suppose those of us who are interested in this feature are also quite capable of setting it up as we want it.

Fequois avatar Oct 22 '14 15:10 Fequois

I agree, it would be a great feature to have (turned off by default). Especially with the capability of codekit2 having both a defaults and a per project config. I run scss-lint via the command line but would love to see the feature added to CodeKit so everything is in one place.

eriku avatar Nov 07 '14 16:11 eriku

I'd love to see such a feature in Codekit.

fanfarian avatar Dec 16 '14 08:12 fanfarian

+1

hpohlmeyer avatar Dec 20 '14 15:12 hpohlmeyer

+1

philval avatar Jul 28 '15 12:07 philval

+1

MysticEarth avatar Aug 07 '15 07:08 MysticEarth

+1

ilbonzo avatar Oct 14 '15 12:10 ilbonzo

+1

ghost avatar Nov 13 '15 09:11 ghost

+1

Would be great for environments were multiple authors are hitting the SCSS on a regular basis.

nwpappas avatar Jun 08 '16 18:06 nwpappas

+1

mlkstuff avatar Jun 25 '16 11:06 mlkstuff

Any chance to see it in CK3? ;-)

formspiel avatar Oct 01 '16 21:10 formspiel