gulp-stylelint icon indicating copy to clipboard operation
gulp-stylelint copied to clipboard

Upgrade to newer version of stylelint

Open ludovig opened this issue 3 years ago • 15 comments

Hello,

I had some trouble getting gulp-stylelint working. As a config is needed, I installed stylelint-config-recommanded, npm install stylelint-config-recommended --save-dev But newer version 4.0.0 of this package throw this error : 'Undefined rule declaration-block-no-duplicate-custom-properties' (as it's only compatible with 13.12 version of stylelint) And previous version 3.0.0 doesn't work either, with this error : 'Undefined rule function-calc-no-invalid' (as it only compatible with stylelint version > 10.1.0) So I had to switch back to version 2.2.0 that is compatible with stylelint ^8.0 version provided by gulp-stylelint.

Could you upgrade from 8.0.0 that was released in mid-2017 to latest version that was released on 6 march of this year ?

ludovig avatar Apr 19 '21 10:04 ludovig

u needed to upgrade stylelint plugin

danny007in avatar May 17 '21 18:05 danny007in

Did you see this @olegskl? Currently, stylelint v15 can't be used with this plugin.

Piedone avatar Oct 26 '21 22:10 Piedone

Can this be done @olegskl?

ronilaukkarinen avatar Oct 29 '21 08:10 ronilaukkarinen

I have sent a PR #138 but in case nothing happens my fork works fine for itself. For someone else who relies on gulp-stylelint in their daily work like me, please install my fork to your project, I try to keep its stylelint and dependencies up to date:

npm install @ronilaukkarinen/gulp-stylelint --save-dev

Tested & working just now.

ronilaukkarinen avatar Nov 02 '21 09:11 ronilaukkarinen

Thank you, Roni!

BTW force installing gulp-stylelint with stylelint v15 works, didn't notice any issues.

Piedone avatar Nov 02 '21 13:11 Piedone

Yeah it works if you are forcing them inside gulp-stylelint but if you want to use the stable tag in projects without going through the node module level you have to do the installs separately.

ronilaukkarinen avatar Nov 02 '21 13:11 ronilaukkarinen

@olegskl any update on this?

pensierinmusica avatar Jan 18 '22 11:01 pensierinmusica

BTW force installing gulp-stylelint with stylelint v15 works, didn't notice any issues.

Yeah, but force-installing is always a bad practice as it may lead to other unexpected errors.

ronilaukkarinen avatar Jan 18 '22 12:01 ronilaukkarinen

Thank you @ronilaukkarinen !! https://github.com/olegskl/gulp-stylelint/issues/132#issuecomment-957267876 works great. But an official release would be nice for everyone. @olegskl can you please release a v14? I see #138 is merged so we should be pretty close, right? High-fives to the Open Source community 🤚 ☮️

jds-tag avatar Jan 25 '22 14:01 jds-tag

Is there new version planned soon? Would be great to be able to upgrade to stylelint 14 and afterwards. Many thanks for the great job done here.

Gomes81 avatar Dec 22 '22 21:12 Gomes81

@Gomes81 No, it is not as we have not heard the maintainer @olegskl for almost 3 years now. My fork still works, see the comment earlier on this issue.

ronilaukkarinen avatar Dec 22 '22 23:12 ronilaukkarinen

Too bad @olegskl has seemingly abandoned this project 🙄 this doesn't seem like it'd be that hard to fix, especially given there's a PR...

@ronilaukkarinen, any chance you can update your fork? Looks like it's not compatible with stylelint v16

JacobDB avatar Jan 09 '24 20:01 JacobDB

Yes, there is a pending PR, but I'm still using v15 for stylelint plugins that depend on gulp-stylelint v16 and haven't been able to get migrated those yet. Scheduled for January 2024 with our team, I'll get back to this as soon as I can. Ref: #10.

ronilaukkarinen avatar Jan 10 '24 08:01 ronilaukkarinen

Maybe @XhmikosR can help ?

xavierbourretsicotte avatar Jan 24 '24 16:01 xavierbourretsicotte

Hey @olegskl where are you ?

xavierbourretsicotte avatar Jan 24 '24 16:01 xavierbourretsicotte