Commit Graph

2 Commits

Author SHA1 Message Date
Andrew Halberstadt
14685fa5e9 Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8
This replaces the eslintvalidate hooks with an error message
prompting the user to upgrade to tools/lint/hooks.py.

The reasons for deprecating eslintvalidate are twofold:

1) It only runs eslint, so developers might miss errors from
other linters.

2) It isn't as well maintained, and I've started to see
reports of problems in the wild. It doesn't make sense to
maintain two sets of hooks that do the same thing.

MozReview-Commit-ID: CseeVIof2om

--HG--
extra : rebase_source : e859c368d14cd1bf7e7d85f0de5bbb89e88402d9
2018-01-09 20:03:58 -05:00
Mark Banner
72059d82da Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop
MozReview-Commit-ID: 1YJL5Sd4dlb

--HG--
rename : tools/mercurial/eslintvalidate.py => tools/lint/eslint/hook_helper.py
extra : rebase_source : eec3ee2761dd7178de1562229bfda24c0859b4ae
2017-04-28 12:19:15 +01:00