Use stylelint #3019

Closed
tusooa wants to merge 0 commits from gitlab-mr-iid-1752 into develop
Owner

Close #1173 #857

Changes

  • Use stylelint
  • Something to debate: no-longhand may reduce readability in some points, like border-radius or margin, because the order of the properties are not easily memorable.
Close #1173 #857 <!-- Feel free to submit merge requests that are work-in-progress, but mark them as Draft: or WIP:. Merge requests that have Draft or WIP status will not be merged and have less chances of being reviewed, but you can still ask people to take a look if you need advice. --> # Changes * Use stylelint * Something to debate: no-longhand may reduce readability in some points, like border-radius or margin, because the order of the properties are not easily memorable. * <!-- List what your merge request changes and how --> <!-- Try to not to break existing behavior, if your changes do break existing behavior make it configurable to toggle between old behavior and new. Which one should be default is up to discussion. --> <!-- If your merge request resolves some issue link it like so: "Closes #99999" --> <!-- If merge request adds some new feature that depends on backend: 1. Make sure it gracefully degrades if backend hasn't been updated to support the feature, we try to make PleromaFE compatible with older versions of BE so that people can still update frontend safely without updating backend since it's costly and much riskier. 2. Link related BE merge request here --> <!-- Screenshots are welcome -->
Author
Owner

disabled rscss/class-format because of https://github.com/rstacruz/stylelint-rscss/issues/13

disabled rscss/class-format because of https://github.com/rstacruz/stylelint-rscss/issues/13
Owner

overall looks fine to me, we need to find better alternative to RSCSS since it's not widely supported, there's SMACSS that seems to be more popular

no-longhand

i don't really have an opinion, as long as it's fixable, some things are a bit easier to memorize like border and border-width so those could be made exceptions

overall looks fine to me, we need to find better alternative to RSCSS since it's not widely supported, there's SMACSS that seems to be more popular >no-longhand i don't really have an opinion, as long as it's fixable, some things are a bit easier to memorize like `border` and `border-width` so those could be made exceptions
Author
Owner

check

check
Author
Owner

gonna review the code once more tomorrow to prevent accidental changes to "intended" places just like the one above

gonna review the code once more tomorrow to prevent accidental changes to "intended" places just like the one above
Author
Owner

check

check
Author
Owner

check

check
Author
Owner

autoprefixer will prefix that

autoprefixer will prefix that
Author
Owner

i guess it's ready

i guess it's ready

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe!3019
No description provided.