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

Improve Autosemicolon #92

Open
driade opened this issue Jan 24, 2025 · 0 comments
Open

Improve Autosemicolon #92

driade opened this issue Jan 24, 2025 · 0 comments

Comments

@driade
Copy link
Owner

driade commented Jan 24, 2025

Autosemicolon is one of the most important rules in the package. It really saves time while coding.

However, there are some cases that are not yet covered, such as those involving comments. As a result, it cannot add a semicolon in expressions like these:

$a = 1//
$B = 2;
$a = 1
//
$B = 2;
$a = 1
//
/** other comment */
$B = 2;
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

No branches or pull requests

1 participant