[ticket/15344] update stylelint and fix issues

PHPBB3-15344
This commit is contained in:
Michael Miday 2017-09-02 15:44:47 -04:00
parent d8fb94245f
commit 30fa0c9474
5 changed files with 12 additions and 12 deletions

View file

@ -161,7 +161,7 @@
"selector-type-no-unknown": true,
"selector-descendant-combinator-no-non-space": true,
"selector-no-id": true,
"selector-max-id": 0,
"selector-no-qualifying-type": [
true, {
"ignore": ["attribute"]

View file

@ -28,7 +28,7 @@
},
"homepage": "https://www.phpbb.com",
"devDependencies": {
"stylelint": "7.8.0",
"stylelint": "8.0.0",
"stylelint-order": "0.3.0"
}
}

View file

@ -8,7 +8,7 @@
------------------------------------------------------------------------
*/
/* stylelint-disable selector-no-id */
/* stylelint-disable selector-max-id */
/* stylelint-disable selector-max-compound-selectors */
/* stylelint-disable selector-no-qualifying-type */
/* stylelint-disable declaration-property-unit-blacklist */
@ -2966,15 +2966,15 @@ fieldset.permissions .permissions-switch {
min-height: 18px;
}
/* stylelint-enable selector-no-id */
/* stylelint-enable selector-max-compound-selectors */
/* stylelint-enable selector-no-qualifying-type */
/* stylelint-enable declaration-property-unit-blacklist */
/* stylelint-enable declaration-property-unit-whitelist */
.console-output {
font-family: monospace;
background-color: #2a2a2a;
color: #f1f1f1;
overflow-x: scroll;
}
/* stylelint-enable selector-max-id */
/* stylelint-enable selector-max-compound-selectors */
/* stylelint-enable selector-no-qualifying-type */
/* stylelint-enable declaration-property-unit-blacklist */
/* stylelint-enable declaration-property-unit-whitelist */

View file

@ -8,7 +8,7 @@
<div class="forumbg forumbg-table">
<div class="inner">
<table class="table1" id="team">
<table class="table1 team" id="team">
<thead>
<tr>
<th class="name" data-dfn="{L_RANK}{L_COMMA_SEPARATOR}{L_USERNAME}"><span class="rank-img">{L_RANK}&nbsp;</span><!-- IF group.U_GROUP --><a href="{group.U_GROUP}">{group.GROUP_NAME}</a><!-- ELSE -->{group.GROUP_NAME}<!-- ENDIF --></th>

View file

@ -882,8 +882,8 @@ table.fixed-width-table {
/* Factor out this ID */
/* stylelint-disable selector-no-id */
#memberlist tr.inactive,
#team tr.inactive {
.memberlist tr.inactive,
.team tr.inactive {
font-style: italic;
}
/* stylelint-enable selector-no-id */