Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
CSS
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Apr 2017 at 19:39 UTC
Updated:
26 Jan 2018 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
jpassetti commentedWorking on this at d4d boston sprint.
Comment #4
jpassetti commentedGetting rid of trailing zeros made sense to me. I removed the no-trailing-zeros rule from .stylelintrc.json file so it would inherit from the base rule set. I fixed all of the issues.
Comment #6
joelpittetRan the core npm with the patch applied and no errors, checked out one of the files to see it fail and it totally did so I know the change is working. Thanks for doing these @jpassetti and @alexpott
Comment #7
alexpottI agree it makes sense... less bytes to send and all. Unfortunately the patch does not apply anymore.
Comment #8
harsha012 commentedre-rolled the patch
Comment #10
harsha012 commentedre-rolled the patch
Comment #11
alexpottI think these changes are out-of-scope.
Comment #12
harsha012 commentedFixed changes as per #11
Comment #13
joelpittetThe change to remove
"length-zero-no-unit": null,incore/.stylelintrc.jsonshould not be in this patch, could it be removed please?Comment #14
harsha012 commentedfixed as per comment #14
Comment #15
alexpott@harsha012 the patch in #14 is still missing the removal of the line from core/.stylelintrc.json
Comment #16
harsha012 commentedComment #17
joelpittetThanks @harsha012. There seems to be an unrelated change in there still like @alexpott mentioned in #11.
Since this patch is about trailing 0's these changes to case are not needed.
Very close though!
Comment #18
harsha012 commentedfixed it.
Comment #19
joelpittetThanks @harsha012, @jpassetti, and @alexpott!
It's catching the rule when I test
npm run lint:csswithout the changes and the changes pass all tests.I double checked an all the extra changes have been removed.
Comment #20
alexpottCommitted e965387 and pushed to 8.5.x. Thanks!