Skip to content

Commit

Permalink
ESLint: enforce indentation for ArrayExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorva17 authored and yamidark committed Feb 27, 2019
1 parent c94360e commit 6a85f30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"arrow-parens": ["error", "always"],
"indent": ["error", 2, {
"MemberExpression": 2,
"CallExpression": { "arguments": 2 }
"CallExpression": { "arguments": 2 },
"ArrayExpression": 2
}]
}
}
4 changes: 2 additions & 2 deletions frontend/src/static/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ window.api = {
};

const searchParams = [
repo.displayName,
obj.displayName, author,
repo.displayName,
obj.displayName, author,
];

obj.searchPath = searchParams.join('_').toLowerCase();
Expand Down

0 comments on commit 6a85f30

Please sign in to comment.