-
Notifications
You must be signed in to change notification settings - Fork 54
Upgrade ESLint dependency #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -67,14 +67,12 @@ | |||
"chai": "~4.2.0", | |||
"chai-as-promised": "~7.1.1", | |||
"chai-string": "~1.5.0", | |||
"eslint": "^6.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eslint is the standard for Node.js and TypeScript in particular. It does a lot more than just formatting - it's primarily for preventing silly mistakes in code (like not awaiting a promise). I would highly recommend re-enabling eslint ASAP or never removing it in the first place.
Can you quickly try using v7 instead of v6 and see if that works? v7 should get rid of the npm audit complaints and you can turn off any failing rules in here instead of disabling all of eslint. I do think it's fine to get rid of "prettier-eslint", though, because I don't think you're using it. Feel free to ping me if you have issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll reach out internally on Monday and block this merge for a little bit. Thanks for reaching out!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ejizba: I managed to get this working by upgrading eslint
and its related dependencies. Could I please get another review? Thanks
Our previous ESLint dependency, which we use for auto-formatting, was being flagged by
npm audit
. We're removing it temporarily until we can an alternative configuration or alternative dependency.I'm also updating our
mocha
version, for running unit tests.And simplifying our build-script steps.
This is fairly routine PR, no features should be impacted