Skip to content

Commit

Permalink
Make eslint config prettier compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed May 6, 2017
1 parent 2c9b624 commit 74e7da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": [0],
"import/no-unresolved": [2, { ignore: ['^react(-native)?$'] }],
"import/extensions": [2, { "js": "never", "json": "always" }]
"import/extensions": [2, { "js": "never", "json": "always" }],
"arrow-parens": ["error", "as-needed"]
}
}
2 changes: 1 addition & 1 deletion createAnimatableComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function transitionToValue(
if (duration || easing || delay) {
Animated.timing(transitionValue, {
toValue,
delay: delay,
delay,
duration: duration || 1000,
easing: typeof easing === 'function'
? easing
Expand Down

0 comments on commit 74e7da7

Please sign in to comment.