Closed
Description
opened on Oct 1, 2024
Describe the bug
關於 check-i18n-json/no-extra-keys
我修改了代碼
然後 en , zh-TW, zh-HK, zh-CN 添加了對應的 key
爲什麽commit 就出現
✖ eslint --fix:
C:\Users\myw\Documents\Github\other\Follow\locales\app\en.json
1:1 error Error parsing JSON: ENOENT: no such file or directory, open 'C:\Users\myw\Documents\Github\other\Follow\locales\undefined\en.json' check-i18n-json/no-extra-keys
C:\Users\myw\Documents\Github\other\Follow\locales\app\zh-CN.json
1:1 error Error parsing JSON: ENOENT: no such file or directory, open 'C:\Users\myw\Documents\Github\other\Follow\locales\undefined\en.json' check-i18n-json/no-extra-keys
C:\Users\myw\Documents\Github\other\Follow\locales\app\zh-HK.json
1:1 error Error parsing JSON: ENOENT: no such file or directory, open 'C:\Users\myw\Documents\Github\other\Follow\locales\undefined\en.json' check-i18n-json/no-extra-keys
C:\Users\myw\Documents\Github\other\Follow\locales\app\zh-TW.json
1:1 error Error parsing JSON: ENOENT: no such file or directory, open 'C:\Users\myw\Documents\Github\other\Follow\locales\undefined\en.json' check-i18n-json/no-extra-keys
出現這個錯誤的原因是什麽
Feed Info
。
Reproduction Video
No response
App Type
Web
Version
。
Operating System
Windows 10
Browser Info
No response
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Metadata
Assignees
Labels
No labels
Activity