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

[chore] Enable more lint rules to align with other expo codebases #2507

Conversation

wschurman
Copy link
Member

@wschurman wschurman commented Aug 20, 2024

Why

This PR enables lint rules for things that are:

  • good code correctness features (readonly rules)
  • remove redundancy (redundant type casts)

How

Enable rules, yarn lint --fix

Test Plan

yarn lint

Copy link

github-actions bot commented Aug 20, 2024

Size Change: +2.54 kB (0%)

Total Size: 51.1 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 51.1 MB +2.54 kB (0%)

compressed-size-action

@wschurman wschurman marked this pull request as ready for review August 20, 2024 18:51
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

Attention: Patch coverage is 65.09434% with 37 lines in your changes missing coverage. Please review.

Project coverage is 52.95%. Comparing base (5976dc7) to head (d4e737c).
Report is 1 commits behind head on main.

Files Patch % Lines
...ctions/SetUpBuildCredentialsFromCredentialsJson.ts 0.00% 3 Missing ⚠️
...c/credentials/ios/actions/UpdateCredentialsJson.ts 0.00% 3 Missing ⚠️
...kages/eas-cli/src/rollout/actions/ManageRollout.ts 0.00% 3 Missing ⚠️
.../credentials/android/AndroidCredentialsProvider.ts 0.00% 2 Missing ⚠️
...als/manager/CheckBuildProfileFlagAgainstEasJson.ts 0.00% 2 Missing ⚠️
...kages/eas-cli/src/rollout/actions/CreateRollout.ts 0.00% 1 Missing and 1 partial ⚠️
packages/eas-cli/src/rollout/actions/EndRollout.ts 0.00% 2 Missing ⚠️
packages/eas-cli/src/build/build.ts 0.00% 1 Missing ⚠️
packages/eas-cli/src/commands/build/cancel.ts 0.00% 1 Missing ⚠️
packages/eas-cli/src/commands/build/delete.ts 0.00% 1 Missing ⚠️
... and 17 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2507      +/-   ##
==========================================
- Coverage   52.95%   52.95%   -0.00%     
==========================================
  Files         544      544              
  Lines       20060    20061       +1     
  Branches     4098     4098              
==========================================
  Hits        10621    10621              
- Misses       8625     8626       +1     
  Partials      814      814              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@szdziedzic szdziedzic left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member Author

wschurman commented Aug 21, 2024

Merge activity

  • Aug 21, 12:11 PM EDT: @wschurman started a stack merge that includes this pull request via Graphite.
  • Aug 21, 12:13 PM EDT: Graphite rebased this pull request as part of a merge.
  • Aug 21, 12:14 PM EDT: @wschurman merged this pull request with Graphite.

@wschurman wschurman changed the base branch from @wschurman/08-20-_chore_add_typescript_linting_to_packages to graphite-base/2507 August 21, 2024 16:11
@wschurman wschurman changed the base branch from graphite-base/2507 to main August 21, 2024 16:11
@wschurman wschurman force-pushed the @wschurman/08-20-_chore_enable_more_lint_rules_to_align_with_other_expo_codebases branch from b340384 to d4e737c Compare August 21, 2024 16:12
Copy link

❌ It looks like a changelog entry is missing for this PR. You have two options: you can add it manually, or you can use the changelog bot to do it for you.
🤖 To use the bot, simply comment on this PR with the command /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message].
⏩ If this PR doesn't require a changelog entry, such as if it's an internal change that doesn't affect the user experience, you can add the "no changelog" label to the PR.

@wschurman wschurman merged commit 9597ea2 into main Aug 21, 2024
5 of 6 checks passed
@wschurman wschurman deleted the @wschurman/08-20-_chore_enable_more_lint_rules_to_align_with_other_expo_codebases branch August 21, 2024 16:14
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