eslint-plugin-i18n-json
eslint-plugin-i18n-json copied to clipboard
Fully extendable eslint plugin for JSON i18n translation files.
Would it be possible to make this rule to copy the entry from the source defined in the `filePath` to the other files?
Sorting fails with an error when using numbers, for example "01" and "20" at the same time const translations = { "a": { "20": "k", "01": "k", "b": "k", "c":...
This is really useful when you have a main file, like `/en/messages.json`, from which all messages are copied to the other files, as it can detect messages that you probably...
This uses [micromatch](https://github.com/micromatch/micromatch).
Use Case: i want to use that plugin for linting and auto-fix my json config file Example Input: ``` { "command": { "publish": { "conventionalCommits": true, "ignoreChanges": [ "**/__fixtures__/**", "**/__mocks__/**",...
Hello, I have just found out about this plugin and decided to test it on a working project. For the sake of example, I will simplify my translation files down...
In running the tool against a locale file, the `--fix` is not recognized. ``` /app # npx eslint --fix config/locales/en.json /app/config/locales/en.json 0:0 error Keys should be sorted, please use --fix...
Right now we only support either a custom message syntax validator or the ICU Message Syntax. We can start to add builtin support for other syntaxes
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
When using modules with a default export this line fails