Skip to content

Commit de866e7

Browse files
chore: remove unneeded disablings of sonarjs/cognitive-complexity check
refs LIIKUNTA-455
1 parent eb395d0 commit de866e7

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

apps/events-helsinki/src/domain/event/eventHero/EventHero.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export interface Props {
4444
superEvent?: SuperEventResponse;
4545
}
4646

47-
// eslint-disable-next-line sonarjs/cognitive-complexity
4847
const EventHero: React.FC<Props> = ({ event, superEvent }) => {
4948
const { t } = useTranslation('event');
5049
const { t: commonTranslation } = useTranslation('common');

apps/hobbies-helsinki/src/domain/event/eventHero/EventHero.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export interface Props {
4444
superEvent?: SuperEventResponse;
4545
}
4646

47-
// eslint-disable-next-line sonarjs/cognitive-complexity
4847
const EventHero: React.FC<Props> = ({ event, superEvent }) => {
4948
const { t } = useTranslation('event');
5049
const { t: commonTranslation } = useTranslation('common');

apps/sports-helsinki/src/domain/event/eventHero/EventHero.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export interface Props {
4444
superEvent?: SuperEventResponse;
4545
}
4646

47-
// eslint-disable-next-line sonarjs/cognitive-complexity
4847
const EventHero: React.FC<Props> = ({ event, superEvent }) => {
4948
const { t } = useTranslation('event');
5049
const { t: commonTranslation } = useTranslation('common');

packages/components/src/components/eventsCookieConsent/EventsCookieConsent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const EventsCookieConsent: React.FC<Props> = ({
3333
[i18n, setLanguage, allowLanguageSwitch]
3434
);
3535
const contentSource: ContentSource = React.useMemo(
36-
// eslint-disable-next-line sonarjs/cognitive-complexity
3736
() => ({
3837
siteName: appName,
3938
onAllConsentsGiven: () => {

0 commit comments

Comments
 (0)