Consistency for eslint arrow-parens.

This commit is contained in:
Michał Lipiński
2017-03-06 10:57:45 +01:00
parent 59e45d99f2
commit 49ac4a5b52
2 changed files with 2 additions and 2 deletions

View File

@@ -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))
}
}

View File

@@ -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