NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
16 Jul 2019

This adds a linter for our SCSS files and enforces a bunch of rules, which I found reasonable. There is no deeper reason for the set of rules that I selected other than that I like them. That also means that this ruleset is completely up for debate.

This uses sass-lint, which can be found here: https://github.com/sasstools/sass-lint

The list of available rules can be found here: https://github.com/sasstools/sass-lint/tree/master/docs/rules

For now the step is set to be ignored upon failure, so that we have a chance to fix these codestyle violations one by one.

avatar Hackwar Hackwar - open - 16 Jul 2019
avatar Hackwar Hackwar - change - 16 Jul 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2019
Category Unit Tests NPM Change
avatar Hackwar Hackwar - change - 16 Jul 2019
Labels Added: NPM Resource Changed ? ?
avatar mbabker
mbabker - comment - 16 Jul 2019

There's already a SCSS ruleset defined. Look at the Hound CI integration, whose sole purpose is to lint the SCSS and JS files.

avatar wilsonge wilsonge - change - 17 Jul 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-07-17 08:10:33
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 17 Jul 2019

Closing as Michael is absolutely right here

avatar wilsonge wilsonge - close - 17 Jul 2019
avatar Hackwar
Hackwar - comment - 18 Jul 2019

Ok, I wasn't sure if that even worked. Looking at the configuration, there are a few issues there... I'll bring this up in the ATT and we'll discuss it there.

Add a Comment

Login with GitHub to post a comment