pre-commit: Add eslint hook for javascript files
Add a precommit hook to lint javascript files using our eslint configuration.
Also add a new eslint rule to enforce consistent spacing inside braces.
Migrated from D2708 (view on Phabricator)
Staging instance, all changes can be removed at any time
Add a precommit hook to lint javascript files using our eslint configuration.
Also add a new eslint rule to enforce consistent spacing inside braces.
Migrated from D2708 (view on Phabricator)