Skip to content

Fix bug when using delimited-like path. #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 16, 2021
Merged

Fix bug when using delimited-like path. #256

merged 2 commits into from
Nov 16, 2021

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Oct 30, 2021

fixes #245, fixes #260

@ota-meshi ota-meshi merged commit 184af78 into master Nov 16, 2021
@ota-meshi ota-meshi deleted the original-path branch November 16, 2021 01:49
@andruhon
Copy link

andruhon commented Apr 5, 2022

I think this change brings false positive on nested messages from json.

Considering the json file, like en-NZ.json

{
 "announcements": {
  "test": "My Test Message"
 }
}

and the function $t('announcements.test') will cause 'announcements.test' does not exist in localization message resources(@intlify/vue-i18n/no-missing-keys)

The 1.0.1 https://github.com/intlify/eslint-plugin-vue-i18n/releases/tag/v1.0.1 does not have such false positive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no-unused-keys false negative with . in key Detect key Usage: $0 <command> [options]’ as missing key
3 participants