Closed yinzara closed 3 years ago
@jefflau Are you ok with this change? It's kinda a major one so I wanted to make sure you were.
@jefflau Are you ok with this change? It's kinda a major one so I wanted to make sure you were.
LGTM. Do you need me to deploy this?
I don't think it needs a new released version. It's just a change to the linter and formatting but it means I can now fix some other issues.
Okay cool, thanks for doing this Matthew. Appreciate you keeping things afloat whilst I'm not as active!
Let me know if you need anything deployed
I reckon the community would need this release soon.
can this be released? cross-fetch
prior to 3.0.6 depends on node-fetch
which has a security vulnerability @jefflau
dtslint
uses the now deprecatedtslint
library.tslint
decided to join forces witheslint
and now with the@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
,eslint
can properly lint TypeScript and JavaScript files.This PR converts
jest-fetch-mock
from usingdtslint
and no JS linter to usingeslint
for both.There were changes necessary to some files to keep consistency in style across all files.
It also upgrades the library to the latest version of all dependencies.
The
master
build is currently broken because of issues with TypeScript and dtslint. This PR will fix them.