-
Notifications
You must be signed in to change notification settings - Fork 21
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
new rule: imports, globals and persistent before code #120
Comments
However they need to be after any argument validation blocks, so a function should be ordered like this:
|
@niklasnylen an update this ticket (and similar ones that would do code re-structuring beyond adding whitespace and deleting stuff). I plan to create another tool I suspect I will also remove the autofixing from The reason for this is largely technical / and developer (i.e. me) sanity. The code that does the fixing has become so complicated that adding new functionality is just not practical any more. :/ |
What kind of feature is this?
MISS_HIT component affected
Describe the solution you'd like
Global and persistent variables shall be declared first in functions.
The text was updated successfully, but these errors were encountered: