diff --git a/.eslintrc.yml b/.eslintrc.yml index d2f4ec6b0ac..2c166b21137 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -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 + diff --git a/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/OnClickSectionHeader.jsx b/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/OnClickSectionHeader.jsx index 1e951f17cf9..a46dad69579 100644 --- a/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/OnClickSectionHeader.jsx +++ b/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/OnClickSectionHeader.jsx @@ -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!'); }, }; diff --git a/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/TransparentSectionHeader.jsx b/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/TransparentSectionHeader.jsx index 2a2f8d501f7..c66b2fe0b91 100644 --- a/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/TransparentSectionHeader.jsx +++ b/packages/terra-core-docs/src/terra-dev-site/doc/section-header/example/TransparentSectionHeader.jsx @@ -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,