@evaneos/front-config 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/eslint/index.js +12 -1
- package/eslint/index.mjs +12 -1
- package/package.json +1 -1
package/eslint/index.js
CHANGED
|
@@ -3138,7 +3138,18 @@ var override_default = [
|
|
|
3138
3138
|
"react/jsx-uses-react": "error",
|
|
3139
3139
|
"react/jsx-uses-vars": "error",
|
|
3140
3140
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
3141
|
-
"@typescript-eslint/no-unsafe-assignment": "off"
|
|
3141
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
3142
|
+
"no-restricted-imports": [
|
|
3143
|
+
"warn",
|
|
3144
|
+
{
|
|
3145
|
+
paths: [
|
|
3146
|
+
{
|
|
3147
|
+
name: "react-intl",
|
|
3148
|
+
message: "Please use next-intl instead of react-intl. See official documentation: https://next-intl-docs.vercel.app/ and internal ADR: https://www.notion.so/leather-yard-6b5/ADR-Next-intl-et-internationalisation-d-une-app-Next-17da97006602800bafd9cf4ebdfde508"
|
|
3149
|
+
}
|
|
3150
|
+
]
|
|
3151
|
+
}
|
|
3152
|
+
]
|
|
3142
3153
|
}
|
|
3143
3154
|
}
|
|
3144
3155
|
];
|
package/eslint/index.mjs
CHANGED
|
@@ -3127,7 +3127,18 @@ var override_default = [
|
|
|
3127
3127
|
"react/jsx-uses-react": "error",
|
|
3128
3128
|
"react/jsx-uses-vars": "error",
|
|
3129
3129
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
3130
|
-
"@typescript-eslint/no-unsafe-assignment": "off"
|
|
3130
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
3131
|
+
"no-restricted-imports": [
|
|
3132
|
+
"warn",
|
|
3133
|
+
{
|
|
3134
|
+
paths: [
|
|
3135
|
+
{
|
|
3136
|
+
name: "react-intl",
|
|
3137
|
+
message: "Please use next-intl instead of react-intl. See official documentation: https://next-intl-docs.vercel.app/ and internal ADR: https://www.notion.so/leather-yard-6b5/ADR-Next-intl-et-internationalisation-d-une-app-Next-17da97006602800bafd9cf4ebdfde508"
|
|
3138
|
+
}
|
|
3139
|
+
]
|
|
3140
|
+
}
|
|
3141
|
+
]
|
|
3131
3142
|
}
|
|
3132
3143
|
}
|
|
3133
3144
|
];
|