Skip to content
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

- directive - add new directive fart to allow complex fat-arrow #414

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

kaizhu256
Copy link
Member

fixes #413 (and re-fixes #382).

  • this pr adds new directive /*jslint fart*/ which allows destructing in fat-arrows, and {...} statement-blocks.

  • the fat-arrow parser/walker has been cleaned up to better align with how regular-functions are parsed.

image

@kaizhu256 kaizhu256 merged commit e8d6fd5 into jslint-org:beta Sep 9, 2022
@kaizhu256 kaizhu256 deleted the directive_fart branch March 26, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: relaxing fart functions limitations Bug report: Fart function with destructuring
1 participant