This PR fixes the errors which occur when running lint:js locally.
Unfortunately, the version incompatibility warnings cannot be fixed without downgrading eslint due to eslint-config-satya164 dependency which indirectly hard-requires eslint@^7.1.0
Test plan
run yarn lint:js locally
see how it throws multiple errors on main branch, and none on this PR
Description
This PR fixes the errors which occur when running
lint:js
locally.Unfortunately, the version incompatibility warnings cannot be fixed without downgrading
eslint
due toeslint-config-satya164
dependency which indirectly hard-requireseslint@^7.1.0
Test plan
yarn lint:js
locallymain
branch, and none on this PR