VolkerE has uploaded a new change for review. https://gerrit.wikimedia.org/r/289322
Change subject: Add no duplicate property rule to stylelint ...................................................................... Add no duplicate property rule to stylelint Adding rule to prevent duplication of CSS properties within the same rule. Also adding exception for consecutive overrides for addressing browser disparities. Change-Id: I3f3379ccce03f1bf92152cc3fc4de4c242662cd2 --- M .stylelintrc 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/22/289322/1 diff --git a/.stylelintrc b/.stylelintrc index 3d03de2..df29c24 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -28,6 +28,9 @@ "declaration-colon-space-after": [ "always" ], "declaration-colon-space-before": [ "never" ], - "string-no-newline": true + "string-no-newline": true, + + "declaration-block-no-duplicate-properties": [ true, { ignore: [ "consecutive-duplicates" ] } ], + "declaration-block-no-shorthand-property-overrides": true } } \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/289322 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3f3379ccce03f1bf92152cc3fc4de4c242662cd2 Gerrit-PatchSet: 1 Gerrit-Project: oojs/ui Gerrit-Branch: master Gerrit-Owner: VolkerE <volke...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits