Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: eslint-config-eyeo/index.js

Issue 29376668: Issue 3692 - Disable no-constant-condition ESLint rule for loops (Closed)
Patch Set: Created Feb. 21, 2017, 5:38 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: eslint-config-eyeo/index.js
diff --git a/eslint-config-eyeo/index.js b/eslint-config-eyeo/index.js
index d2b577328ee6fd68ddd4dab71a12a28e21a56967..3a786503b9a03fe89397f9dda1779feb760f1cc0 100644
--- a/eslint-config-eyeo/index.js
+++ b/eslint-config-eyeo/index.js
@@ -51,6 +51,7 @@ module.exports = {
"no-catch-shadow": "error",
"no-cond-assign": "off",
"no-console": ["error", {allow: ["warn", "error", "trace"]}],
+ "no-constant-condition": ["error", {checkLoops: false}],
"no-control-regex": "off",
"no-else-return": "error",
"no-empty": ["error", {allowEmptyCatch: true}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld