Skip to content

Commit

Permalink
refactor(precedence): remove redundant '> 0'
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 28, 2020
1 parent 0c888d9 commit 4d372ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/otion/src/rulePrecedence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function rulePrecedence(
let position = 1; // First character of the property can't be `-`
while (
// eslint-disable-next-line no-cond-assign
(position = unprefixedProperty.indexOf("-", position) + 1) > 0
(position = unprefixedProperty.indexOf("-", position) + 1) /* > 0 */
) {
++precedence;
}
Expand Down

0 comments on commit 4d372ab

Please sign in to comment.