You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple formatter and linter, like clippy using the whistle lexer, parser and AST would be nice to have. In my opinion it should be opinionated, and be able to also only check for formatting errors instead of always fixing them. Along with the formatter we should also provide a standard style guide.
Here's my proposal for a minimal style guide we can start with:
2 spaces instead of tabs
snake_case for everything but types which should be PascalCase
docs should always start with ///
The text was updated successfully, but these errors were encountered:
A simple formatter and linter, like clippy using the whistle lexer, parser and AST would be nice to have. In my opinion it should be opinionated, and be able to also only check for formatting errors instead of always fixing them. Along with the formatter we should also provide a standard style guide.
Here's my proposal for a minimal style guide we can start with:
snake_case
for everything but types which should bePascalCase
///
The text was updated successfully, but these errors were encountered: