Skip to content

Commit 61e0827

Browse files
authored
Add stylelint-declaration-block-no-ignored-properties (#25284)
Add [stylelint-declaration-block-no-ignored-properties](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties) and fix discovered issue. There is no visual difference in these markup code blocks.
1 parent 95ab485 commit 61e0827

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.stylelintrc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins:
22
- stylelint-declaration-strict-value
3+
- stylelint-declaration-block-no-ignored-properties
34
- stylelint-stylistic
45

56
ignoreFiles:
@@ -93,6 +94,7 @@ rules:
9394
no-unknown-animations: null
9495
no-unknown-custom-properties: null
9596
number-max-precision: null
97+
plugin/declaration-block-no-ignored-properties: true
9698
property-allowed-list: null
9799
property-disallowed-list: null
98100
property-no-unknown: true

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"markdownlint-cli": "0.34.0",
7676
"postcss-html": "1.5.0",
7777
"stylelint": "15.7.0",
78+
"stylelint-declaration-block-no-ignored-properties": "2.7.0",
7879
"stylelint-declaration-strict-value": "1.9.2",
7980
"stylelint-stylistic": "0.4.2",
8081
"svgo": "3.0.2",

web_src/css/markup/content.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,7 @@
481481
.markup pre code,
482482
.markup pre tt {
483483
display: inline;
484-
max-width: initial;
485484
padding: 0;
486-
margin: 0;
487-
overflow: initial;
488485
line-height: inherit;
489486
word-wrap: normal;
490487
background-color: transparent;

0 commit comments

Comments
 (0)