Closed domoscargin closed 3 years ago
Thanks for creating an issue for this @domoscargin.
It might be worth talking to the Design System team and seeing what they think about this problem, seeing as they're going to be affected too. I'd be interested to know whether they are using var
for a reason. I'm happy to reach out to them myself.
@domoscargin beat me to it 😁
Closing as resolved by https://github.com/alphagov/digitalmarketplace-govuk-frontend/pull/229
Running
npm run test
passes, but standard now flags all uses of "var" instead of let/const. Eventually, this will become an error rather than a warning: https://standardjs.com/changelog.html#1601---2020-10-30We are using
var
in our components andlet/const
in our tests to follow the conventions of govuk-frontend.Our options here include:
var