Browse Source

support stylelint declaration-block-no-ignored-properties rule

pull/3518/head
米老朱 8 years ago
parent
commit
4339d1d29e
  1. 4
      .stylelintrc.json
  2. 1
      package.json
  3. 1
      src/components/DescriptionList/index.less

4
.stylelintrc.json

@ -4,8 +4,10 @@
"stylelint-config-css-modules",
"stylelint-config-prettier"
],
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
"rules": {
"declaration-empty-line-before": null,
"no-descending-specificity": null
"no-descending-specificity": null,
"plugin/declaration-block-no-ignored-properties": true
}
}

1
package.json

@ -93,6 +93,7 @@
"stylelint-config-css-modules": "^1.3.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-declaration-block-no-ignored-properties": "^1.1.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",

1
src/components/DescriptionList/index.less

@ -20,7 +20,6 @@
// Line-height is 22px IE dom height will calculate error
line-height: 20px;
padding-bottom: 16px;
margin-right: 8px;
color: @heading-color;
white-space: nowrap;
display: table-cell;

Loading…
Cancel
Save