Replace deprecated stylelint rules with stylelint-codeguide plugin

This commit is contained in:
Matthew Haughton
2024-12-10 14:39:14 +11:00
parent e0e266d1a6
commit e4d488727d
3 changed files with 122 additions and 61 deletions
+59
View File
@@ -116,6 +116,7 @@
"speed-measure-webpack-plugin": "1.5.0",
"style-loader": "4.0.0",
"stylelint": "15.11.0",
"stylelint-codeguide": "0.3.2",
"stylelint-config-rational-order": "0.1.2",
"stylelint-no-browser-hacks": "1.3.0",
"stylelint-order": "6.0.4",
@@ -22076,6 +22077,40 @@
"url": "https://opencollective.com/stylelint"
}
},
"node_modules/stylelint-codeguide": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/stylelint-codeguide/-/stylelint-codeguide-0.3.2.tgz",
"integrity": "sha512-h0Ji45U3URXZF1wdchQorQAIC2sY64Q7JszIFNcyfo+lL4anIZGMOB88bCpo9EMPolIe3AMvdxITAqBKO4kGzg==",
"deprecated": "This package has been deprecated in favor of @stylistic/stylelint-plugin",
"dev": true,
"license": "MIT",
"dependencies": {
"@csstools/css-parser-algorithms": "^2.3.2",
"@csstools/css-tokenizer": "^2.2.1",
"@csstools/media-query-list-parser": "^2.1.5",
"html-tags": "^3.3.1",
"is-plain-object": "^5.0.0",
"postcss-selector-parser": "^6.0.13",
"postcss-value-parser": "^4.2.0",
"style-search": "^0.1.0"
},
"engines": {
"node": ">=18.16"
},
"peerDependencies": {
"stylelint": "^15.11.0"
}
},
"node_modules/stylelint-codeguide/node_modules/is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/stylelint-config-rational-order": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/stylelint-config-rational-order/-/stylelint-config-rational-order-0.1.2.tgz",
@@ -41080,6 +41115,30 @@
}
}
},
"stylelint-codeguide": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/stylelint-codeguide/-/stylelint-codeguide-0.3.2.tgz",
"integrity": "sha512-h0Ji45U3URXZF1wdchQorQAIC2sY64Q7JszIFNcyfo+lL4anIZGMOB88bCpo9EMPolIe3AMvdxITAqBKO4kGzg==",
"dev": true,
"requires": {
"@csstools/css-parser-algorithms": "^2.3.2",
"@csstools/css-tokenizer": "^2.2.1",
"@csstools/media-query-list-parser": "^2.1.5",
"html-tags": "^3.3.1",
"is-plain-object": "^5.0.0",
"postcss-selector-parser": "^6.0.13",
"postcss-value-parser": "^4.2.0",
"style-search": "^0.1.0"
},
"dependencies": {
"is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"dev": true
}
}
},
"stylelint-config-rational-order": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/stylelint-config-rational-order/-/stylelint-config-rational-order-0.1.2.tgz",