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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2017 Eyeo GmbH 3 * Copyright (C) 2006-2017 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "linebreak-style": "error", 44 "linebreak-style": "error",
45 "lines-around-directive": "error", 45 "lines-around-directive": "error",
46 "max-len": ["error", 80, {ignoreUrls: true}], 46 "max-len": ["error", 80, {ignoreUrls: true}],
47 "new-parens": "error", 47 "new-parens": "error",
48 "no-array-constructor": "error", 48 "no-array-constructor": "error",
49 "no-caller": "error", 49 "no-caller": "error",
50 "no-case-declarations": "off", 50 "no-case-declarations": "off",
51 "no-catch-shadow": "error", 51 "no-catch-shadow": "error",
52 "no-cond-assign": "off", 52 "no-cond-assign": "off",
53 "no-console": ["error", {allow: ["warn", "error", "trace"]}], 53 "no-console": ["error", {allow: ["warn", "error", "trace"]}],
54 "no-constant-condition": ["error", {checkLoops: false}],
54 "no-control-regex": "off", 55 "no-control-regex": "off",
55 "no-else-return": "error", 56 "no-else-return": "error",
56 "no-empty": ["error", {allowEmptyCatch: true}], 57 "no-empty": ["error", {allowEmptyCatch: true}],
57 "no-eval": "error", 58 "no-eval": "error",
58 "no-extra-bind": "error", 59 "no-extra-bind": "error",
59 "no-extra-label": "error", 60 "no-extra-label": "error",
60 "no-implied-eval": "error", 61 "no-implied-eval": "error",
61 "no-labels": ["error", {allowLoop: true}], 62 "no-labels": ["error", {allowLoop: true}],
62 "no-lone-blocks": "error", 63 "no-lone-blocks": "error",
63 "no-lonely-if": "error", 64 "no-lonely-if": "error",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "strict": ["error", "global"], 106 "strict": ["error", "global"],
106 "valid-jsdoc": ["error", { 107 "valid-jsdoc": ["error", {
107 requireParamDescription: false, 108 requireParamDescription: false,
108 requireReturn: false, 109 requireReturn: false,
109 requireReturnDescription: false 110 requireReturnDescription: false
110 }], 111 }],
111 "yield-star-spacing": "error", 112 "yield-star-spacing": "error",
112 "yoda": "error" 113 "yoda": "error"
113 } 114 }
114 }; 115 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld