Skip to content

Commit 3676023

Browse files
justin808claude
andcommitted
Add ESLint disable for import/prefer-default-export in translations.js
The translations file needs both named and default exports because some components import it as a named export and others as default. ESLint CI enforces stricter rules than local, so adding the disable directive to satisfy CI requirements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4f3af19 commit 3676023

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/app/libs/i18n/translations.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable import/prefer-default-export */
12
const translations = {
23
en: {
34
'app.comments': 'Comments',
@@ -36,5 +37,5 @@ const translations = {
3637
},
3738
};
3839

39-
export { translations };
40+
export { translations }; // eslint-disable-line import/prefer-default-export
4041
export default translations;

0 commit comments

Comments
 (0)