-
Couldn't load subscription status.
- Fork 5.5k
Require project environment in SDK #14679
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
bzwrk
merged 22 commits into
master
from
biz/dj-2678-make-environment-mandatory-in-connect-sdk
Nov 20, 2024
Merged
Changes from 4 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
186822e
Require project environment in SDK
bzwrk d34e259
Merge branch 'master' into biz/dj-2678-make-environment-mandatory-in-…
bzwrk 647e18c
Refactor environment check into its own method
bzwrk d91741b
Define a new type for project environment
bzwrk c1781ed
Fix comment and update CHANGELOG.md
bzwrk 40bab31
Fix linter errors
bzwrk 7753a5b
Fix linter errors
bzwrk a904e53
Update package lock
bzwrk 5efcc32
Update gitignore
bzwrk 45b4875
Add eslint config
bzwrk 7abedce
Apply eslint
bzwrk 8de3f44
Apply linter suggestions
bzwrk 16704ee
Merge branch 'master' into biz/dj-2678-make-environment-mandatory-in-…
bzwrk 9d5e709
Fix markdown syntax errors
bzwrk d0362d0
Fix tests
bzwrk 2070190
Merge branch 'master' into biz/dj-2678-make-environment-mandatory-in-…
bzwrk 87fb597
Update pnpm lock
bzwrk 5b86f27
Remove pnpm lock changes
bzwrk 041a594
Merge branch 'master' into biz/dj-2678-make-environment-mandatory-in-…
bzwrk a171866
Remove eslint configs
bzwrk 96fc56b
Undo eslint change
bzwrk 044daed
Revert reversion of eslint changes
bzwrk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove redundant non-null assertion
The double non-null assertion (
!!) is unnecessary sinceensureValidEnvironmentalready validates the environment parameter.📝 Committable suggestion
🧰 Tools
🪛 GitHub Check: Lint Code Base
[failure] 361-361:
Missing semicolon
[failure] 362-362:
Forbidden extra non-null assertion
[failure] 362-362:
Missing semicolon
🪛 Biome
[error] 362-362: Forbidden extra non-null assertion.
Safe fix: Remove extra non-null assertion.
(lint/suspicious/noExtraNonNullAssertion)
🪛 eslint
[error] 361-362: Missing semicolon.
(@typescript-eslint/semi)
[error] 362-362: Forbidden extra non-null assertion.
(@typescript-eslint/no-extra-non-null-assertion)