Skip to content

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

Merged
merged 3 commits into from
Nov 22, 2021
Merged

Upgrade ESLint dependency #292

merged 3 commits into from
Nov 22, 2021

Conversation

davidmrdavid
Copy link
Collaborator

@davidmrdavid davidmrdavid commented Nov 20, 2021

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

Copy link

@amdeel amdeel left a 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",
Copy link
Contributor

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

Copy link
Collaborator Author

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!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem, just subscribed to the repo like last week 😁 👀

always watching

Copy link
Collaborator Author

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

@davidmrdavid davidmrdavid requested a review from ejizba November 22, 2021 19:20
@davidmrdavid davidmrdavid merged commit 18f0149 into dev Nov 22, 2021
@davidmrdavid davidmrdavid deleted the dajusto/update-breaking-devs branch November 22, 2021 21:39
@davidmrdavid davidmrdavid changed the title Remove ESLint dependency Upgrade ESLint dependency Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants