-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linting #6
Comments
Ideas for lint rules:
Potentially nf-core specific warnings?
|
Ideas for linting rules we could check with the
Possible warnings (not errors):
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once a source file has been parsed (barring any syntax errors), you have an AST and you can do all sorts of static analysis on it. Much of that analysis will fall under error checking, like checking names, function call arguments, and types, but there are things beyond that which generally fall under "linting", which is checking for things that aren't technically errors but could lead to errors or are considered bad practice.
Linting is a very broad topic and is not something that is ever complete. The goal of this issue is to collect some of the most useful examples of linting as a starting point.
Resources:
The text was updated successfully, but these errors were encountered: