Enable declaration-block-no-duplicate-properties in Stylelint

Created on 21 February 2022, over 2 years ago
Updated 29 July 2023, about 1 year ago

Problem/Motivation

#3261049: Remove duplicated margin properties from typography CSS discovered some redundant CSS. There is a Stylelint rule declaration-block-no-duplicate-properties that can detect this situation for us.

Enabling the rule now notes lots of duplicate background-image rules, which can be solved by #3265596: Remove obsolete -webkit-linear-gradient CSS

Steps to reproduce

Proposed resolution

Solve #3261049: Remove duplicated margin properties from typography CSS and #3265596: Remove obsolete -webkit-linear-gradient CSS first.
Enable the rule and fix any remaining cases.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
CSS 

Last updated 1 day ago

Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024