Open strager opened 3 months ago
Proposed logic:
After parsing the {
}
body of an if
, check if the next token is Token_Type::kw_if
and if has_leading_newline
is false. If yes, then warn.
Hey Strager, I'm a recent cs college grad and am trying to get into open source, would love to try and tackle this issue!
@qnguyen1013 Sure thing! Here are our contribution guides: https://quick-lint-js.com/contribute/
If you need any help, let me know.
hi @strager would like to take this issue if no one else is actively working on it.
Inspiration: https://twitter.com/tsoding/status/1782676054093533328