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

Automatically format JSON files according to eslint rules #43

Open
2 tasks
Robbert opened this issue May 19, 2016 · 1 comment
Open
2 tasks

Automatically format JSON files according to eslint rules #43

Robbert opened this issue May 19, 2016 · 1 comment
Labels

Comments

@Robbert
Copy link
Member

Robbert commented May 19, 2016

Formatting JSON could be useful since all files need to adhere to the same standards:

  • easier to add existing JSON files, since fixing them is easy
  • improve readability from JSON output of third-party scripts, such as eslint -f json
  • Find tool that interprets eslint indentation, spacing, quote, curly and alignment standards
  • Add gulp task fix:json

Maybe eslint --fix --no-eslintrc -c .jsonrc.json will do the trick.

@Robbert
Copy link
Member Author

Robbert commented May 19, 2016

Still waiting... eslint --fix is very slow indeed on a 6MB JSON file.

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

No branches or pull requests

1 participant