Skip to content

The open alternative to Salesforce, designed for AI.

changing location of lint rule (#16703)

Guillim32bb69c52f58
diff --git a/eslint.config.react.mjs b/eslint.config.react.mjs
index 3e474e3e7bf..b252b92b5cc 100644
--- a/eslint.config.react.mjs
+++ b/eslint.config.react.mjs
@@ -500,14 +500,6 @@ export default [
},
},
- // Disable lingui rule for email templates
- {
- files: ['**/*.email.tsx', '**/twenty-emails/**/*.tsx', '**/twenty-emails/**/*style.ts'],
- rules: {
- 'lingui/no-unlocalized-strings': 'off',
- },
- },
-
// TypeScript specific configuration
{
files: ['**/*.{ts,tsx}'],
diff --git a/packages/twenty-emails/eslint.config.mjs b/packages/twenty-emails/eslint.config.mjs
index eaa736a87d3..33e13bd330b 100644
--- a/packages/twenty-emails/eslint.config.mjs
+++ b/packages/twenty-emails/eslint.config.mjs
@@ -34,4 +34,12 @@ export default [
'@nx/dependency-checks': 'error',
},
},
-];
\ No newline at end of file
+
+ // Disable lingui rule for email templates
+ {
+ files: ['**/*.email.tsx', '**/twenty-emails/**/*.tsx', '**/twenty-emails/**/*style.ts'],
+ rules: {
+ 'lingui/no-unlocalized-strings': 'off',
+ },
+ },
+];
diff --git a/packages/twenty-emails/src/emails/validate-approved-access-domain.email.tsx b/packages/twenty-emails/src/emails/validate-approved-access-domain.email.tsx
index 9c7493f17d0..7db05c5739f 100644
--- a/packages/twenty-emails/src/emails/validate-approved-access-domain.email.tsx
+++ b/packages/twenty-emails/src/emails/validate-approved-access-domain.email.tsx
@@ -9,11 +9,11 @@ import { HighlightedText } from 'src/components/HighlightedText';
import { Link } from 'src/components/Link';
import { MainText } from 'src/components/MainText';
import { Title } from 'src/components/Title';
+import { DEFAULT_WORKSPACE_LOGO } from 'src/constants/DefaultWorkspaceLogo';
import { capitalize } from 'src/utils/capitalize';
import { createI18nInstance } from 'src/utils/i18n.utils';
import { type APP_LOCALES } from 'twenty-shared/translations';
import { getImageAbsoluteURI } from 'twenty-shared/utils';
-import { DEFAULT_WORKSPACE_LOGO } from 'src/constants/DefaultWorkspaceLogo';
type SendApprovedAccessDomainValidationProps = {
link: string;