Closed
Bug 982229
Opened 11 years ago
Closed 8 years ago
Webmaker.org needs LESS linting
Categories
(Webmaker Graveyard :: webmaker.org, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: yastr.dima, Assigned: yastr.dima)
Details
Attachments
(1 file)
Webmaker.org needs LESS linting using RECESS.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → yastr.dima
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
For Webmaker.org needs to be installed grunt-recess module. Updated Gruntfile.js is ready but will fail if grunt-recess module is not installed. I'm not sure what to do next. How to install that module so Travis will pass it? Thanks
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8391783 -
Flags: review?(pomax)
Assignee | ||
Comment 3•11 years ago
|
||
Package.son was updated with "grunt-recess" devdependency, and "grunt" execution. LESS linting works and shows some LESS errors. I'll try to fix them. Otherwise the fix cannot be landed because Travis doesn't pass it.
Comment on attachment 8391783 [details] [review]
https://github.com/mozilla/webmaker.org/pull/632
this is checking too many files. For less, you need to lint only the master .less file, so no *.less masking, you'll have to point to the specific top-most .less files, and then they'll do the importing of all their dependencies while linting. Right now it's throwing about a thousand errors because files that require other files are being linted out of order =)
Attachment #8391783 -
Flags: review?(pomax) → review-
Assignee | ||
Comment 5•11 years ago
|
||
Replaced RECESS with LESSLINT and specified style.less as master less file. Also changed variables paths to the actual. Tested on webmaker-suite, it lints and displays some syntax issues in LESS files. However Travis can't find font-awesome.less. Checked the path 1001 times and seems to be correct, also on webmaker-suite it works fine. Beat my head against the wall.
Assignee | ||
Comment 6•11 years ago
|
||
Got rid of some LESS linting errors, but there are some left and I'm not sure if I can solve it. Maybe it needs another ticket for it? Please see https://travis-ci.org/Hamabama/webmaker.org/builds/23003187
Assignee | ||
Updated•11 years ago
|
Attachment #8391783 -
Flags: feedback?(pomax)
these properties are proper "need fixing" issues. max-height: auto means nothing, so should be removed. Likewise, display:inline-block means nothing for floats, so should either be omitter or just block. Remove all three lines, and let's verify it looks exactly the same.
Attachment #8391783 -
Flags: feedback?(pomax)
Assignee | ||
Comment 8•11 years ago
|
||
Update: removed those 3 lines and tested on vm. Didn't notice any visual issues. Also updated webmaker-language-picker to the latest version. Please consider to land.
Assignee | ||
Updated•11 years ago
|
Attachment #8391783 -
Flags: review- → review?(pomax)
Comment on attachment 8391783 [details] [review]
https://github.com/mozilla/webmaker.org/pull/632
I don't see anything odd, and grunt passes without linting errors, so I'm going to say r+
Attachment #8391783 -
Flags: review?(pomax) → review+
Comment 10•11 years ago
|
||
Comment on attachment 8391783 [details] [review]
https://github.com/mozilla/webmaker.org/pull/632
if you fix the spacing and rebase, I will merge this in.
Assignee | ||
Comment 11•11 years ago
|
||
Sorry for the mess. Spacing fixed and code rebased!
Comment 12•8 years ago
|
||
The webmaker.org site is no longer developed.
https://learning.mozilla.org/blog/whats-next-for-webmaker-tools
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•