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

formatting & linting JavaScript #21

Open
boneskull opened this issue Feb 6, 2018 · 0 comments
Open

formatting & linting JavaScript #21

boneskull opened this issue Feb 6, 2018 · 0 comments

Comments

@boneskull
Copy link
Contributor

  • The documentation mentions use of JSHint, but I don't see a configuration file anywhere. AFAIK JSHint was actually abandoned as everyone (including JSHint's developers) has moved to using ESLint.

  • Automatic formatting may be desirable, and can be achieved with prettier. A common way to manage this sort of thing is with a pre-commit hook. There's some glue to make it work in tandem with ESLint as well.

Both of these necessitate Node.js and its package.json manifest; this should be present anyhow due to the stuff in tools/.

Comments?

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

1 participant