eslint-plugin-i18n-json
eslint-plugin-i18n-json copied to clipboard
`--fix` flag is not recognized
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 i18n-json/sorted-keys
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
Note that this command is run with the --fix
option.
Thanks for the issue. Will take a look. What version of both the i18n plugin and eslint are you on?
Used the latest release of both on the day this was posted. I moved off the project that was going to use this, but can check to confirm.