Skip to content

Commit

Permalink
Add Response to the globals list
Browse files Browse the repository at this point in the history
For some reason Response is not being recognised even though it is part of
Javascript (https://caniuse.com/?search=Response). This is possibly due to out
of date dependencies preventing ES6 coding standards being checkd.

It is added to the list of globals to allow `yarn standard` to pass. It may be
possible to remove this after refactoring.
  • Loading branch information
jrmhaig committed Oct 27, 2023
1 parent 1f3813f commit 9719762
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@
"globals": [
"GOVUK",
"moj",
"Stickyfill"
"Stickyfill",
"Response"
],
"ignore": [
"app/webpack/javascripts/vendor/",
"spec/javascripts/helpers/"
]
}
}
}

0 comments on commit 9719762

Please sign in to comment.