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

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

Issue 29492585: Issue 5429 - Set ObjectExpression option of indent ESLint rule to first (Closed) Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Created July 19, 2017, 1:58 p.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
===================================================================
--- a/eslint-config-eyeo/index.js
+++ b/eslint-config-eyeo/index.js
@@ -35,17 +35,18 @@
"brace-style": ["error", "allman", {allowSingleLine: true}],
"camelcase": ["error", {properties: "never"}],
"comma-dangle": "error",
"comma-spacing": "error",
"comma-style": "error",
"computed-property-spacing": "error",
"eol-last": "error",
"func-call-spacing": "error",
- "indent": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}],
+ "indent": ["error", 2, {SwitchCase: 1, ArrayExpression: "first",
+ ObjectExpression: "first"}],
"key-spacing": "error",
"keyword-spacing": "error",
"linebreak-style": "error",
"lines-around-directive": "error",
"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