add precommit hook to validate fils against eslint.