Skip to content

Commit afd456a

Browse files
Bump stylelint from 14.3.0 to 14.5.1 (#1658)
* Bump stylelint from 14.3.0 to 14.5.1 Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.3.0 to 14.5.1. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@14.3.0...14.5.1) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * drop var(--custom-override) comes from 3bb36b0 which was a copy of EcoClipboardCopy from ose-pod we're not using any custom-override vars, removing * .stylelintrc: override custom-property-pattern to allow patternfly vars ```diff -'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$', +'^([a-z][a-z0-9]*)(-+[a-zA-Z0-9_]+)*$', ``` to allow for things like `var(--pf-c-nav__link--FontSize)` (overrides https://github.com/stylelint/stylelint-config-standard/blob/main/index.js#L54 , [docs](https://stylelint.io/user-guide/rules/list/custom-property-pattern/)) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Hradil <mhradil@redhat.com>
1 parent a9e9e42 commit afd456a

File tree

4 files changed

+35
-28
lines changed

4 files changed

+35
-28
lines changed

.stylelintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "stylelint-config-standard-scss",
33
"rules": {
4+
"custom-property-pattern": "^([a-z][a-z0-9]*)(-+[a-zA-Z0-9_]+)*$",
45
"declaration-colon-newline-after": null,
56
"scss/at-import-partial-extension": null,
67
"selector-class-pattern": null,

package-lock.json

+33-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"sass-loader": "^12.6.0",
6464
"source-map-loader": "^3.0.1",
6565
"style-loader": "^3.3.1",
66-
"stylelint": "^14.3.0",
66+
"stylelint": "^14.5.1",
6767
"stylelint-config-standard-scss": "^3.0.0",
6868
"stylelint-scss": "^4.1.0",
6969
"typescript": "^4.5.4",

src/containers/execution-environment-manifest/execution-environment-manifest.scss

-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
border: none;
2828
background: transparent !important;
2929
text-overflow: ellipsis;
30-
padding: var(--custom-override);
31-
margin: var(--custom-override);
3230
}
3331

3432
button {
@@ -39,7 +37,5 @@
3937

4038
.pf-c-button::after {
4139
border: none !important;
42-
padding: var(--custom-override);
43-
margin: var(--custom-override);
4440
}
4541
}

0 commit comments

Comments
 (0)