Skip to content

Commit

Permalink
remove unnecessary semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
ganimomer committed Apr 3, 2016
1 parent dad3e36 commit fe379f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rules/collection-method-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function (context) {
const settings = require('../util/settingsUtil').getSettings(context)

function parentUsesValue(node, isChain) {
const isBeforeChainBreaker = isChain && lodashUtil.isChainBreaker(node.parent.parent, settings.version);
const isBeforeChainBreaker = isChain && lodashUtil.isChainBreaker(node.parent.parent, settings.version)
return (isBeforeChainBreaker ? node.parent.parent : node).parent.type !== 'ExpressionStatement'
}

Expand Down
2 changes: 1 addition & 1 deletion src/util/lodashUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function isLodashCallToMethod(node, settings, method) {
* @returns {boolean}
*/
function isSideEffectIterationMethod(node, version) {
return _.includes(methodDataUtil.getSideEffectIterationMethods(version), astUtil.getMethodName(node));
return _.includes(methodDataUtil.getSideEffectIterationMethods(version), astUtil.getMethodName(node))
}

module.exports = {
Expand Down

0 comments on commit fe379f2

Please sign in to comment.