Skip to content

Commit

Permalink
fix: eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed May 19, 2020
1 parent fe04964 commit 5f5d50d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ const ruleFunction = (properties, options, context = {}) => (root, result) => {
function lintDeclStrictValue(node, longhandProp, longhandValue) {
const { value: nodeValue, prop: nodeProp } = node
const value = longhandValue || nodeValue
const prop = longhandProp || nodeProp

// falsify everything by default
let validVar = false
Expand Down Expand Up @@ -256,6 +255,8 @@ const ruleFunction = (properties, options, context = {}) => (root, result) => {

return true
}

return false
}
})
}
Expand Down

0 comments on commit 5f5d50d

Please sign in to comment.