Skip to content
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

feat: add code linting and prettify #1350

Merged
merged 25 commits into from
Jul 13, 2020

Conversation

alexforsyth
Copy link
Contributor

@alexforsyth alexforsyth commented Jul 9, 2020

Issue #, if available: We don't have a linter or prettify function implemented that will easily format your code for you

Description of changes:
Added linting with eslint to the codebase. This runs at the root and takes ~5sec.

yarn run lint
real 0m4.294s
user 0m5.053s
sys 0m0.560s

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

.prettierrc.js Outdated
@@ -0,0 +1,7 @@
module.exports = {
Copy link
Contributor Author

@alexforsyth alexforsyth Jul 9, 2020

Choose a reason for hiding this comment

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

This file is added by mistake, removed here: 716b289

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2020

Codecov Report

Merging #1350 into master will increase coverage by 0.02%.
The diff coverage is 96.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1350      +/-   ##
==========================================
+ Coverage   79.00%   79.02%   +0.02%     
==========================================
  Files         287      287              
  Lines       11112    11123      +11     
  Branches     2350     2350              
==========================================
+ Hits         8779     8790      +11     
  Misses       2333     2333              
Impacted Files Coverage Δ
packages/abort-controller/src/AbortController.ts 100.00% <ø> (ø)
packages/abort-controller/src/AbortSignal.ts 100.00% <ø> (ø)
...-provider-cognito-identity/src/IndexedDbStorage.ts 19.14% <0.00%> (ø)
...ges/eventstream-marshaller/src/HeaderMarshaller.ts 100.00% <ø> (ø)
.../eventstream-marshaller/src/TestVectors.fixture.ts 100.00% <ø> (ø)
...tream-serde-universal/src/getUnmarshalledStream.ts 80.76% <ø> (ø)
packages/hash-blob-browser/src/index.ts 100.00% <ø> (ø)
packages/middleware-header-default/src/index.ts 90.90% <ø> (ø)
packages/middleware-host-header/src/index.ts 80.00% <ø> (ø)
...ckages/middleware-location-constraint/src/index.ts 87.50% <ø> (ø)
... and 83 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2b7b7d...528597c. Read the comment docs.

package.json Outdated Show resolved Hide resolved
.prettierrc Outdated Show resolved Hide resolved
features/extra/hooks.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
protocol_tests/aws-ec2/EC2ProtocolClient.ts Outdated Show resolved Hide resolved
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants