Skip to content

style: Sync tooling configuration from 4.0 branch #2553

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 4 commits into from
Sep 30, 2020
Merged

Conversation

nbbeeken
Copy link
Contributor

Update ESLint and bring in a modified version of our config from 4.0. ESLint now manages running and checking prettier formatting so switching branches should be a more pleasant experience. Also updating mocha and bringing in the config from the 4.0 branch provides a similar convenience.
Fixed a few linter errors most of which were replace hasOwnProperty direct calls with indirect Object.prototype.hasOwnProperty.calls.

Update ESLint and bring in a modified version of our config from 4.0. ESLint manages running and checking prettier formatting. Also updating mocha and bringing in the config from the 4.0 branch.

Replace hasOwnProperty direct calls with indirect Object.prototype calls.
Copy link
Contributor

@reggi reggi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for doing this. 🙇‍♂️

Copy link
Member

@mbroadst mbroadst left a comment

Choose a reason for hiding this comment

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

LGTM, with a nit about the eslint config.

.eslintrc.json Outdated
],
"extends": [
"eslint:recommended",
"prettier/@typescript-eslint",
Copy link
Member

Choose a reason for hiding this comment

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

typescript?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good catch!

Copy link
Contributor

@emadum emadum left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@nbbeeken nbbeeken merged commit 6c63471 into 3.6 Sep 30, 2020
@nbbeeken nbbeeken deleted the chore/tooling-sync branch September 30, 2020 13:59
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.

4 participants