Page MenuHomePhabricator

rename *-blacklist to *-disallowed-list in .stylelintrc.json and .eslintrc.json
Open, Needs TriagePublic

Description

Deprecation Warning: 'property-blacklist' has been deprecated. Instead use 'property-disallowed-list'. See: https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/property-blacklist/README.md

Not sure which stylelint version the new property are part of

https://codesearch.wmcloud.org/search/?q=(black%7Cwhite)list&i=nope&files=%5C.(style%7Ces)lintrc&excludeFiles=&repos=

stylelint:

property-blacklist
declaration-property-value-blacklist
unit-blacklist
function-blacklist

eslint:

id-blacklist

Maybe libup can assist here.
Duplicate keys should be removeed, because an extension can have both properties

Event Timeline

Change 683247 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/extensions/RevisionSlider@master] build: Change 'stylelint' config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683247

Change 683250 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/extensions/CirrusSearch@master] build: Change 'stylelint' config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683250

Change 683252 had a related patch set uploaded (by VolkerE; author: VolkerE):

[wikimedia/portals@master] build: Update 'stylelint' & change config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683252

Change 683247 merged by jenkins-bot:

[mediawiki/extensions/RevisionSlider@master] build: Change 'stylelint' config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683247

Change 683252 merged by jenkins-bot:

[wikimedia/portals@master] build: Update 'stylelint' & change config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683252

Change 683250 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] build: Change 'stylelint' config rule to '*disallowed-list'

https://gerrit.wikimedia.org/r/683250