Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(891)

Unified Diff: tools/web_dev_style/PRESUBMIT.py

Issue 2913453002: js_checker.py: Replace custom WrapperTypeCheck with ESLint's no-new-wrappers. (Closed)
Patch Set: Add smoke tests. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .eslintrc.js ('k') | tools/web_dev_style/js_checker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/web_dev_style/PRESUBMIT.py
diff --git a/tools/web_dev_style/PRESUBMIT.py b/tools/web_dev_style/PRESUBMIT.py
index d808f851dd1c9f89cf2989b77a4f1c07764f9c95..c2d69e3d377224c8c49650efc7c54c5eb153f4dd 100644
--- a/tools/web_dev_style/PRESUBMIT.py
+++ b/tools/web_dev_style/PRESUBMIT.py
@@ -27,6 +27,7 @@ def _CommonChecks(input_api, output_api):
if utils_changed or any(f for f in files if f.startswith('js_checker')):
tests.append(path.join(cwd, 'js_checker_test.py'))
+ tests.append(path.join(cwd, 'js_checker_eslint_test.py'))
dpapad 2017/05/31 22:30:20 I am planning to detect .eslintrc.js changes in a
Dan Beam 2017/05/31 22:54:33 Acknowledged.
Dan Beam 2017/05/31 22:54:33 nit: tests += [path.join(cwd, 'js_checker_%stest.
dpapad 2017/05/31 22:58:10 Even though I acknowledge that this is shorter and
if utils_changed or any(f for f in files if f.startswith('resource_checker')):
tests.append(path.join(cwd, 'resource_checker_test.py'))
« no previous file with comments | « .eslintrc.js ('k') | tools/web_dev_style/js_checker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698