Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Update lint:js script #336

Merged
merged 2 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"jest:coverage": "jest --coverage",
"link-parent-bin": "link-parent-bin",
"lint": "npm run lint:js && npm run lint:scss && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx .",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --fix --ext .js,.jsx .",
"lint:scss": "stylelint 'packages/**/src/**/*.scss' --syntax scss",
"lint:package-json": "terra package-json-lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports[`ActionMenu should render with all props 1`] = `
}
onKeyDown={[Function]}
role="dialog"
setFocusOnContainer={false}
tabIndex="0"
>
<ul
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exports[`PopupMenu should render default element 1`] = `
aria-hidden={true}
/>
}
setFocusOnContainer={false}
>
<div
className="content"
Expand Down Expand Up @@ -54,6 +55,7 @@ exports[`PopupMenu should render prop data 1`] = `
title="my-header"
/>
}
setFocusOnContainer={false}
>
<div
className="content"
Expand Down Expand Up @@ -113,6 +115,7 @@ exports[`PopupMenu should render with height bounded 1`] = `
title="my-header"
/>
}
setFocusOnContainer={false}
>
<div
className="content"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ exports[`UtilityMenu should render default element 1`] = `
title="terraApplication.navigation.utilityMenu.headerTitle"
/>
}
setFocusOnContainer={false}
>
<div
className="content-container-static container"
Expand Down Expand Up @@ -243,10 +244,12 @@ exports[`UtilityMenu should render default element 1`] = `
className="main"
>
<Scroll
className="normalizer"
className="normalizer light"
tabIndex="-1"
>
<div
className="scroll normalizer"
className="scroll normalizer light"
tabIndex="-1"
>
<div
className="content"
Expand Down Expand Up @@ -500,6 +503,7 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
title="terraApplication.navigation.utilityMenu.headerTitle"
/>
}
setFocusOnContainer={false}
>
<div
className="content-container-static container"
Expand Down Expand Up @@ -680,10 +684,12 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
className="main"
>
<Scroll
className="normalizer"
className="normalizer light"
tabIndex="-1"
>
<div
className="scroll normalizer"
className="scroll normalizer light"
tabIndex="-1"
>
<div
className="content"
Expand Down Expand Up @@ -1269,6 +1275,7 @@ exports[`UtilityMenu should render with skip callback 1`] = `
title="terraApplication.navigation.utilityMenu.headerTitle"
/>
}
setFocusOnContainer={false}
>
<div
className="content-container-static container"
Expand Down Expand Up @@ -1449,10 +1456,12 @@ exports[`UtilityMenu should render with skip callback 1`] = `
className="main"
>
<Scroll
className="normalizer"
className="normalizer light"
tabIndex="-1"
>
<div
className="scroll normalizer"
className="scroll normalizer light"
tabIndex="-1"
>
<div
className="content"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`DisclosureContainer should render the provided children 1`] = `
<ContentContainer
fill={true}
header={<injectIntl(NotificationBanners) />}
setFocusOnContainer={false}
>
<NotificationBannerProvider>
<div>
Expand Down