Skip to content

Commit 5c69540

Browse files
committed
chore(sync): cascade prefer-function-declaration JSON-circular fix
Pick up the iterative-AST-walk implementation from socket-wheelhouse. The previous JSON.stringify path crashed on oxlint AST nodes with parent back-references (TypeError: Converting circular structure to JSON), masking 8 real prefer-function-declaration / export-top-level- functions findings on this repo's bootstrap script.
1 parent bea5ba8 commit 5c69540

1 file changed

Lines changed: 89 additions & 11 deletions

File tree

.config/oxlint-plugin/rules/prefer-function-declaration.mts

Lines changed: 89 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)