Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: no-inner-declarations false negative in non-block (fixes #12222…
…) (#13062) * Fix: consistencies for blockstmt no-inner-fn (fix #12222) * Chore: added some more tests * Chore: allowing named and default exports and tests * Chore: simply the check conditions * Chore: simplify checks and ancestor loop * Chore: using getUpperFunction to get body * chore: added tests and minor changes * Docs: eg for both non-blockstatement * Chore: right docs example and test refactore
- Loading branch information
1 parent
6631ef1
commit 85b7254
Showing
3 changed files
with
264 additions
and
104 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
Oops, something went wrong.