-
-
Notifications
You must be signed in to change notification settings - Fork 39
Description
- Node Version: v7.0.0 (also tested v9.8.0)
- NPM Version: 3.10.8 (also tested 5.6.0)
- postcss-less Version: 1.1.4
LESS
https://github.com/wikimedia/mediawiki-extensions-ContentTranslation/blob/0cacd98f21a0d378032a246189404e9e13680bc6/modules/dashboard/styles/ext.cx.dashboard.less
https://github.com/wikimedia/mediawiki-extensions-ContentTranslation/blob/0cacd98f21a0d378032a246189404e9e13680bc6/modules/ui/styles/mw.cx.ui.Columns.less
Errors
modules/dashboard/styles/ext.cx.dashboard.less
12:3 ✖ Unexpected } CssSyntaxError
modules/ui/styles/mw.cx.ui.ToolsColumn.less
8:1 ✖ Unexpected } CssSyntaxError
Expected Behavior
No error or valid error. mw.cx.ui.Columns.less doesn't even have } anywhere near line 8. It is not clear to me what is special in these two files to cause such errors.
Actual Behavior
Error that does not seem to make any sense.
How can we reproduce the behavior?
Using version 1.1.4. Downgrading to 1.1.3 error does not happen.
git clone git@github.com:wikimedia/mediawiki-extensions-ContentTranslation.git
cd mediawiki-extensions-ContentTranslation
git checkout 0cacd98f21a0d378032a246189404e9e13680bc6
npm install
./node_modules/.bin/grunt stylelint
If you now edit package.json to force version 1.1.3 and install again, tests will pass.
Do note that you might encounter wikimedia/grunt-stylelint#49 – but you can still see that it is failing or passing.