mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
updated eslint config
This commit is contained in:
@@ -33,7 +33,7 @@ function filterErrors(details) {
|
||||
.sort()
|
||||
.map(locale => {
|
||||
const data = details[locale]
|
||||
.filter(item => item.hasOwnProperty('error'))
|
||||
.filter(item => Object.prototype.hasOwnProperty.call(item, 'error'))
|
||||
.map(({ error }) => error);
|
||||
return { locale, data };
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user