diff --git a/.stylelintrc.json b/.stylelintrc.json index 449f45bd6..3282735b8 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,7 +1,7 @@ { "extends": "stylelint-config-wikimedia", "rules": { - "selector-no-id": null, + "selector-max-id": null, "no-descending-specificity": null } } diff --git a/package.json b/package.json index cc96c381e..f5b046c47 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,9 @@ "grunt": "1.0.1", "grunt-banana-checker": "0.6.0", "grunt-contrib-watch": "^1.0.0", - "grunt-eslint": "20.0.0", + "grunt-eslint": "20.1.0", "grunt-jsonlint": "1.1.0", - "grunt-stylelint": "0.8.0", + "grunt-stylelint": "0.9.0", "husky": "^0.13.3", "istanbul": "^0.4.5", "jsdoc": "^3.4.3", @@ -30,8 +30,8 @@ "nodemon": "^1.11.0", "redux": "3.6.0", "redux-thunk": "2.2.0", - "stylelint": "7.8.0", - "stylelint-config-wikimedia": "0.4.1", + "stylelint": "8.2.0", + "stylelint-config-wikimedia": "0.4.2", "tap-dot": "^1.0.5", "webpack": "^2.6.0" }, diff --git a/resources/ext.popups/styles/ext.popups.core.less b/resources/ext.popups/styles/ext.popups.core.less index 9d4cc2af3..547f78331 100644 --- a/resources/ext.popups/styles/ext.popups.core.less +++ b/resources/ext.popups/styles/ext.popups.core.less @@ -125,7 +125,7 @@ /* Stylelint rule broken for vendor prefixes: https://github.com/stylelint/stylelint/issues/1939 */ /* stylelint-disable function-linear-gradient-no-nonstandard-direction */ - &[dir='ltr']:after { + &[ dir='ltr' ]:after { /* @noflip */ right: 0; /* @noflip */ @@ -138,7 +138,7 @@ background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% ); } - &[dir='rtl']:after { + &[ dir='rtl' ]:after { /* @noflip */ left: 0; /* @noflip */