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

Created on 21 February 2022, about 3 years ago
Updated 29 July 2023, over 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 10 days 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