Skip to content

Commit

Permalink
Fixed CI failing when using ESLint 7.3. (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 23, 2020
1 parent f3224ba commit b57a273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/rules/html-indent.js
Expand Up @@ -78,6 +78,7 @@ function loadPatterns(additionalValid, additionalInvalid) {

return Object.assign({}, pattern, { code, output, errors })
})
.filter((invalid) => invalid.errors.length > 0) // Empty errors cannot be verified with eslint 7.3.
.filter(Boolean)

return {
Expand Down
1 change: 1 addition & 0 deletions tests/lib/rules/script-indent.js
Expand Up @@ -79,6 +79,7 @@ function loadPatterns(additionalValid, additionalInvalid) {

return Object.assign({}, pattern, { code, output, errors })
})
.filter((invalid) => invalid.errors.length > 0) // Empty errors cannot be verified with eslint 7.3.
.filter(Boolean)

return {
Expand Down

0 comments on commit b57a273

Please sign in to comment.