Skip to content

chore: move to eslint and prettier #309

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
Apr 22, 2020
Merged

Conversation

seebees
Copy link
Contributor

@seebees seebees commented Apr 21, 2020

Typescript is moving to eslint and prettier is now the standard.

This first PR updates all source files
with these new linting/formatting rules.
The test are NOT changed.

This is to help the reviews confirm
that all changes are format only.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

Typescript is moving to eslint and prettier is now the standard.

This first PR updates all source files
with these new linting/formatting rules.
The test are NOT changed.

This is to help the reviews confirm
that all changes are format only.
@seebees seebees requested a review from a team April 21, 2020 23:31
seebees added 3 commits April 21, 2020 19:59
    '@typescript-eslint/no-floating-promises': 'error',
    '@typescript-eslint/promise-function-async': 'error',
    '@typescript-eslint/no-misused-promises': 'error',

Are really worth the price of addmission.
They were taking 5 min to run,
but with some sluthing,
got that down to ~10s
@seebees seebees merged commit bf15b3a into aws:master Apr 22, 2020
@seebees seebees deleted the update-linters branch April 22, 2020 21:02
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.

2 participants