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

Add static clean up for arrow function convention #63

Open
traceyyoshima opened this issue Jun 28, 2023 · 1 comment
Open

Add static clean up for arrow function convention #63

traceyyoshima opened this issue Jun 28, 2023 · 1 comment
Labels
enhancement New feature or request parser-javascript

Comments

@traceyyoshima
Copy link
Contributor

traceyyoshima commented Jun 28, 2023

Braces and parentheses should be consistently used with arrow functions.

This issue will detect missing braces and functions and apply the applicable changes to the LST.
Note: there are additional rules not documented in the issue.
TODO: discover and add addition rules.

var foo = (a) => { foo(); }

vs

var foo = a => { foo(); }
@traceyyoshima traceyyoshima self-assigned this Jun 29, 2023
@traceyyoshima traceyyoshima added the enhancement New feature or request label Jun 29, 2023
@traceyyoshima traceyyoshima removed their assignment Nov 14, 2023
@traceyyoshima
Copy link
Contributor Author

Updated issue to reflect current status -- we haven't been working on this and plan to focus on type mapping and fixing the remaining parsing issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser-javascript
Projects
Status: Backlog
Development

No branches or pull requests

2 participants