-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(eslint-plugin): [strict-boolean-expressions] add allow nullable enum to strict boolean expressions #6096
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
JoshuaKGoldberg
merged 29 commits into
typescript-eslint:main
from
kazizi55:add-allowNullableEnum-to-strict-boolean-expressions
Feb 5, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
8f08063
feat: add allowNullableEnum option
kazizi55 1193d70
test: add allowNullableEnum option
kazizi55 99bc303
Merge branch 'main' into add-allowNullableEnum-to-strict-boolean-expr…
kazizi55 14ba8ac
fix: lint error
kazizi55 d7df053
chore: erase indent diff
kazizi55 a0b643c
fix: error column number
kazizi55 15e108e
test: fix output
kazizi55 a875552
test: fix output format
kazizi55 8d0c41d
Merge branch 'main' into add-allowNullableEnum-to-strict-boolean-expr…
kazizi55 3c806a1
test: add !nullableEnum pattern
kazizi55 42d3371
Update packages/eslint-plugin/src/rules/strict-boolean-expressions.ts
kazizi55 0c9370f
Update packages/eslint-plugin/tests/rules/strict-boolean-expressions.…
kazizi55 ebc2351
chore: yarn lint --fix
kazizi55 aa2e949
perf: use some instead of length
kazizi55 20a00dc
test: fix output
kazizi55 fae50f4
test: split into two cases
kazizi55 2b71e6c
docs: add allowNullableEnum
kazizi55 b02da7c
Merge branch 'main' into add-allowNullableEnum-to-strict-boolean-expr…
kazizi55 3e4ad5d
Update packages/eslint-plugin/src/rules/strict-boolean-expressions.ts
kazizi55 be467ba
perf: use some instead of filter
kazizi55 3803cc0
Update packages/eslint-plugin/docs/rules/strict-boolean-expressions.md
kazizi55 e5a4e1f
Update packages/eslint-plugin/docs/rules/strict-boolean-expressions.md
kazizi55 68c49a8
Update packages/eslint-plugin/src/rules/strict-boolean-expressions.ts
kazizi55 02ec998
test: add case
kazizi55 39863e0
fix: add string condition
kazizi55 8ef51cf
Merge branch 'main' into add-allowNullableEnum-to-strict-boolean-expr…
kazizi55 b4ae4f6
Merge branch 'main' into add-allowNullableEnum-to-strict-boolean-expr…
JoshuaKGoldberg 302f4b5
Fix lil lint issue
JoshuaKGoldberg c19c528
Test fix
JoshuaKGoldberg 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.