updated eslint config
This commit is contained in:
parent
20c063db7c
commit
f036df5f47
9 changed files with 30 additions and 16 deletions
|
@ -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 };
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue