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.
This commit is contained in:
silverwind 2023-06-18 06:22:09 +02:00 committed by GitHub
parent 95ab485490
commit 61e0827f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 3 deletions

View file

@ -1,5 +1,6 @@
plugins: plugins:
- stylelint-declaration-strict-value - stylelint-declaration-strict-value
- stylelint-declaration-block-no-ignored-properties
- stylelint-stylistic - stylelint-stylistic
ignoreFiles: ignoreFiles:
@ -93,6 +94,7 @@ rules:
no-unknown-animations: null no-unknown-animations: null
no-unknown-custom-properties: null no-unknown-custom-properties: null
number-max-precision: null number-max-precision: null
plugin/declaration-block-no-ignored-properties: true
property-allowed-list: null property-allowed-list: null
property-disallowed-list: null property-disallowed-list: null
property-no-unknown: true property-no-unknown: true

13
package-lock.json generated
View file

@ -75,6 +75,7 @@
"markdownlint-cli": "0.34.0", "markdownlint-cli": "0.34.0",
"postcss-html": "1.5.0", "postcss-html": "1.5.0",
"stylelint": "15.7.0", "stylelint": "15.7.0",
"stylelint-declaration-block-no-ignored-properties": "2.7.0",
"stylelint-declaration-strict-value": "1.9.2", "stylelint-declaration-strict-value": "1.9.2",
"stylelint-stylistic": "0.4.2", "stylelint-stylistic": "0.4.2",
"svgo": "3.0.2", "svgo": "3.0.2",
@ -9777,6 +9778,18 @@
"url": "https://opencollective.com/stylelint" "url": "https://opencollective.com/stylelint"
} }
}, },
"node_modules/stylelint-declaration-block-no-ignored-properties": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/stylelint-declaration-block-no-ignored-properties/-/stylelint-declaration-block-no-ignored-properties-2.7.0.tgz",
"integrity": "sha512-44SpI9+9Oc1ICuwwRfwS/3npQ2jPobDSTnwWdNgZGryGqQCp17CgEIWjCv1BgUOSzND3RqywNCNLKvO1AOxbfg==",
"dev": true,
"engines": {
"node": ">=6"
},
"peerDependencies": {
"stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0"
}
},
"node_modules/stylelint-declaration-strict-value": { "node_modules/stylelint-declaration-strict-value": {
"version": "1.9.2", "version": "1.9.2",
"resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.9.2.tgz", "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.9.2.tgz",

View file

@ -75,6 +75,7 @@
"markdownlint-cli": "0.34.0", "markdownlint-cli": "0.34.0",
"postcss-html": "1.5.0", "postcss-html": "1.5.0",
"stylelint": "15.7.0", "stylelint": "15.7.0",
"stylelint-declaration-block-no-ignored-properties": "2.7.0",
"stylelint-declaration-strict-value": "1.9.2", "stylelint-declaration-strict-value": "1.9.2",
"stylelint-stylistic": "0.4.2", "stylelint-stylistic": "0.4.2",
"svgo": "3.0.2", "svgo": "3.0.2",

View file

@ -481,10 +481,7 @@
.markup pre code, .markup pre code,
.markup pre tt { .markup pre tt {
display: inline; display: inline;
max-width: initial;
padding: 0; padding: 0;
margin: 0;
overflow: initial;
line-height: inherit; line-height: inherit;
word-wrap: normal; word-wrap: normal;
background-color: transparent; background-color: transparent;