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

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

Issue 29376671: Issue 3692 - Disable max-len ESLint rule for regexp literals (Closed)
Patch Set: Created Feb. 21, 2017, 5:48 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 3a786503b9a03fe89397f9dda1779feb760f1cc0..013d71896129d1ed09a91c3b056411adea0f34b8 100644
--- a/eslint-config-eyeo/index.js
+++ b/eslint-config-eyeo/index.js
@@ -43,7 +43,7 @@ module.exports = {
"keyword-spacing": "error",
"linebreak-style": "error",
"lines-around-directive": "error",
- "max-len": ["error", 80, {ignoreUrls: true}],
+ "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}],
"new-parens": "error",
"no-array-constructor": "error",
"no-caller": "error",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld