mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Consistency for eslint arrow-parens.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
function forOwn(object, iteratee) {
|
||||
if (object != null) {
|
||||
Object.keys(Object(object)).forEach((key) => iteratee(object[key], key, object))
|
||||
Object.keys(Object(object)).forEach(key => iteratee(object[key], key, object))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ function functions(object) {
|
||||
if (object == null) {
|
||||
return []
|
||||
}
|
||||
return Object.keys(object).filter((key) => typeof object[key] == 'function')
|
||||
return Object.keys(object).filter(key => typeof object[key] == 'function')
|
||||
}
|
||||
|
||||
export default functions
|
||||
|
||||
Reference in New Issue
Block a user