Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update node lts and update stylelint #2596

Merged
merged 5 commits into from
Dec 14, 2022

Conversation

ChristianMurphy
Copy link
Member

@ChristianMurphy ChristianMurphy commented Dec 14, 2022

Checklist
Description of change

Updates node to latest long term support release.

Update stylelint to latest version, and resolves new lint errors detected.

This should not change how the build runs, or how the page is styled.
It focuses on improving code styles and having additional long term support

@@ -30,32 +30,32 @@
* NOTE: Do not change the location of Bootstrap sources lightly; they must
* be included in the uPortal.war package.
*/
@import "../../../../webjars/bootstrap/less/bootstrap.less";
@import url("../../../../webjars/bootstrap/less/bootstrap.less");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these imports appear to resolve exactly the same, but make it clearer that it is a browser path

Comment on lines -969 to 963
-moz-box-shadow: 0 0 4px 0 #333;
-webkit-box-shadow: 0 0 4px 0 #333;
box-shadow: 0 0 4px 0 #333;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these got folded together, no browser needs these prefixed anymore.
https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow

Comment on lines -309 to +269
&:lastchild {
&:last-child {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stylelint caught this typo

@@ -457,6 +403,7 @@
}
}
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stylelint adds a newline between blocks of css

Copy link
Member

@bjagg bjagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Some great changes here 🥇

@bjagg bjagg merged commit b9d715b into uPortal-Project:master Dec 14, 2022
@ChristianMurphy ChristianMurphy deleted the chore/update-node-lts branch November 10, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants