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

Commit

Permalink
linter updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed Apr 4, 2024
1 parent 8c4c4ce commit e7da2e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ extends: "@cerner/terra"
globals:
enzyme: readonly
enzymeIntl: readonly
overrides:
- files:
- packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/OnClickSectionHeader.jsx
- packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/TransparentSectionHeader.jsx
rules:
no-alert: off

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import SectionHeader from 'terra-section-header';
const sectionHeaderProps = {
text: 'I\'m clickable, click me',
onClick: () => {
// eslint-disable-next-line no-alert
window.alert('The accordion has been clicked!');
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import SectionHeader from 'terra-section-header';
const sectionHeaderProps = {
text: "I'm clickable, click me",
onClick: () => {
// eslint-disable-next-line no-alert
window.alert('The accordion has been clicked!');
},
isTransparent: true,
Expand Down

0 comments on commit e7da2e5

Please sign in to comment.