eslint-plugin-i18n-json icon indicating copy to clipboard operation
eslint-plugin-i18n-json copied to clipboard

`--fix` flag is not recognized

Open jeffmaher opened this issue 4 years ago • 2 comments

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.

jeffmaher avatar Mar 06 '20 18:03 jeffmaher

Thanks for the issue. Will take a look. What version of both the i18n plugin and eslint are you on?

mayank23 avatar Mar 24 '20 19:03 mayank23

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.

jeffmaher avatar Mar 24 '20 20:03 jeffmaher