Skip to content

Commit 25173ec

Browse files
RoyEJohnsonclaudeCopilot
committed
Lint stuff
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Co-Authored-By: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0175e41 commit 25173ec

4 files changed

Lines changed: 4 additions & 10 deletions

File tree

.stylelintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
} ],
3535
"font-family-no-duplicate-names": true,
3636
"font-family-no-missing-generic-family-keyword": true,
37-
"function-comma-space-after": [ "always", {
37+
"function-comma-space-after": [ "always-single-line", {
3838
"severity": "warning"
3939
} ],
4040
"function-max-empty-lines": 0,

src/app/components/Footer/Footer.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@
3131
*/
3232
@media (min-width: 60.1em) and (max-width: 90em) {
3333
.footer-wrapper--vertical-nav-toolbar {
34-
padding-left: clamp(
35-
0rem,
36-
calc(8rem - (100vw - 128rem) / 2),
37-
8rem
38-
);
34+
padding-left: clamp(0rem, calc(8rem - (100vw - 128rem) / 2), 8rem);
3935
}
4036
}
4137

src/app/components/Footer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const SocialIconMessage: React.FunctionComponent<{
203203
aria-label={`OpenStax on ${useIntl().formatMessage({ id })}`}
204204
href={href}
205205
target='_blank'
206-
rel='noopener'
206+
rel="noopener noreferrer"
207207
>
208208
<Icon />
209209
</a>
@@ -333,7 +333,7 @@ const SocialDirectory = () => (
333333
Icon={IGIcon}
334334
/>
335335
<li>
336-
<a className="footer-bottom-link" href={riceUrl} target='_blank' rel='noopener'>
336+
<a className="footer-bottom-link" href={riceUrl} target='_blank' rel="noopener noreferrer">
337337
<img
338338
className="footer-logo"
339339
src={RiceWhiteLogo}

src/app/components/NavBar/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { FormattedMessage, useIntl } from 'react-intl';
33
import { useSelector } from 'react-redux';
44
import { Dialog, ModalOverlay, Modal } from 'react-aria-components';
55
import { ProfileMenu, ProfileMenuButton, ProfileMenuItem, UserIcon } from '@openstax/ui-components';
6-
import classNames from 'classnames';
76
import Color from 'color';
87
import openstaxLogo from '../../../assets/logo.svg';
98
import * as authSelect from '../../auth/selectors';
@@ -295,7 +294,6 @@ const NavigationBar = ({user, loggedOut, currentPath, hasUnsavedHighlight, param
295294
onClick={(e) => unsavedHighlightsHandler(e, logoUrl)}
296295
>
297296
<img
298-
role='img'
299297
src={openstaxLogo}
300298
alt={intl.formatMessage({id: 'i18n:nav:logo:alt'})}
301299
className="navbar-header-image"

0 commit comments

Comments
 (0)