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

Unified Diff: .eslintrc.js

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 | « no previous file | tools/web_dev_style/PRESUBMIT.py » ('j') | tools/web_dev_style/PRESUBMIT.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .eslintrc.js
diff --git a/.eslintrc.js b/.eslintrc.js
index 270ced09cde8dc6fe2e0b341e38e72b9b8f50444..766d2114dacd272f87c3d35dd6ce4faa7fb6624a 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -11,6 +11,7 @@ module.exports = {
'rules': {
// Enabled checks.
'no-extra-semi': 'error',
+ 'no-new-wrappers': 'error',
'no-restricted-properties': ['error', {
'object': 'document',
'property': 'getElementById',
« no previous file with comments | « no previous file | tools/web_dev_style/PRESUBMIT.py » ('j') | tools/web_dev_style/PRESUBMIT.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698