-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eslint-plugin): [no-floating-promises] add option 'allowForKnown…
…SafePromises' (#9186) * feat: [no-floating-promises] add an 'allowForKnownSafePromises' option fixes: #7008 * chore: snapshot errors * chore: add a test * chore: add another test * chore: rewrite * chore: docs & test * chore: add jsdoc comment * chore: cspell * chore: lint * chore: address reviews * chore: lint errors * chore: remove invalid js/ts code * chore: add thenables * chore: fix failures * chore: re-write tests * chore: more tests * chore: fix schemas * chore: typo * fix: docs * chore: nits * snapshots * chore: address reviews * chore: reduce tests * chore: line numbers * chore: docs * chore: typos * chore: address reviews * fix: condition issues * chore: update docs Co-authored-by: Josh Goldberg ✨ <[email protected]> * chore: tag function * chore: address reviews * chore: revert var name * chore: address reviews * chore: lint & tests * chore: comments * new logic * make use of closure * rename variable * wording * whoops, copypasta mistake * remove test comment * simplify comments * remove bare string specifier * docs --------- Co-authored-by: arka1002 <[email protected]> Co-authored-by: Arka Pratim Chaudhuri <[email protected]> Co-authored-by: Josh Goldberg ✨ <[email protected]>
- Loading branch information
1 parent
d4504c8
commit 04990d5
Showing
8 changed files
with
612 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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 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 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
35 changes: 35 additions & 0 deletions
35
packages/eslint-plugin/tests/docs-eslint-output-snapshots/no-floating-promises.shot
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.