Skip to content

added contact us in header when contacts in that language are avaliable

Sign in for the full log view
GitHub Actions / ESLint failed Jan 30, 2025 in 0s

50 errors and 2 warnings

ESLint found 50 errors and 2 warnings

Annotations

Check failure on line 38 in modules/Layout/Contacts/Contacts.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Contacts/Contacts.tsx#L38

Replace `'contacts'` with `"contacts"` (prettier/prettier)

Check failure on line 9 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L9

Member 'useCurrentLocale' of the import declaration should be sorted alphabetically (sort-imports)

Check failure on line 19 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L19

Member 'IconEmail' of the import declaration should be sorted alphabetically (sort-imports)

Check failure on line 161 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L161

Replace `·contacts.length·>·0·&&·contacts.some(contact·=>·⏎····································contact.display_locales.some(locale` with `⏎····································contacts.length·>·0·&&⏎····································contacts.some((contact)·=>⏎········································contact.display_locales.some((locale)` (prettier/prettier)

Check failure on line 163 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L163

Replace `········································const·normalizedLocaleCode·=·locale.code.replace('_',·'-'` with `············································const·normalizedLocaleCode·=·locale.code.replace(⏎················································'_',⏎················································'-',⏎············································` (prettier/prettier)

Check failure on line 164 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L164

Replace `········································const·normalizedCurrentLocale·=` with `············································const·normalizedCurrentLocale·=⏎···············································` (prettier/prettier)

Check failure on line 165 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L165

Replace `return·normalizedLocaleCode·===·normalizedCurrentLocale·||·` with `····return·(⏎················································normalizedLocaleCode·===·normalizedCurrentLocale·||` (prettier/prettier)

Check failure on line 166 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L166

Replace `···············································locale.language_code·===·currentLocale.localeCode` with `················································locale.language_code·===·currentLocale.localeCode⏎············································)` (prettier/prettier)

Check failure on line 167 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L167

Replace `····································})` with `········································}),` (prettier/prettier)

Check failure on line 168 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L168

Insert `····` (prettier/prettier)

Check failure on line 169 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L169

Replace `····································` with `········································` (prettier/prettier)

Check failure on line 170 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L170

Insert `····` (prettier/prettier)

Check failure on line 171 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L171

Insert `····` (prettier/prettier)

Check failure on line 172 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L172

Replace `············································` with `················································` (prettier/prettier)

Check failure on line 173 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L173

Insert `····` (prettier/prettier)

Check failure on line 174 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L174

Replace `············································` with `················································` (prettier/prettier)

Check failure on line 175 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L175

Insert `····` (prettier/prettier)

Check failure on line 176 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L176

Replace `········································` with `············································` (prettier/prettier)

Check failure on line 177 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L177

Insert `····` (prettier/prettier)

Check failure on line 178 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L178

Insert `····` (prettier/prettier)

Check failure on line 179 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L179

Replace `············································` with `················································` (prettier/prettier)

Check failure on line 180 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L180

Insert `····` (prettier/prettier)

Check failure on line 181 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L181

Insert `····` (prettier/prettier)

Check failure on line 182 in modules/Layout/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

modules/Layout/Header/Header.tsx#L182

Insert `····` (prettier/prettier)

Check failure on line 24 in pages/[slug].tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

pages/[slug].tsx#L24

Insert `,` (prettier/prettier)