Skip to content
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

--fix flag is not recognized #30

Open
jeffmaher opened this issue Mar 6, 2020 · 2 comments
Open

--fix flag is not recognized #30

jeffmaher opened this issue Mar 6, 2020 · 2 comments

Comments

@jeffmaher
Copy link

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.

@mayank23
Copy link
Contributor

mayank23 commented Mar 24, 2020

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

@jeffmaher
Copy link
Author

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.

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

No branches or pull requests

2 participants