-
Notifications
You must be signed in to change notification settings - Fork 13
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
Scripts linter #161
Comments
there is already a linter in qDup that validates the structure of the yaml definition and does further analysis (i.e. counting signals etc). you can run it with I think there might be a couple of concerns in this issue that could be split out;
atm the linter fails the test if it detects issues (@willr3 please correct me if I am wrong here), we might want to be able to have different levels, e.g. ERROR/WARN/INFO etc. and having different behaviours (i.e. logging vs failure) depending on what levels of issues are discovered. |
qDup has |
Yes, it should be part of the other static analysis.
@willr3 If the static analysis provides just hints/warnings it's most likely to be ignored, there's so much of qDup output... There are two reasons (name others please) why I don't like checkstyle on commit:
|
A linter would be useful as git commit-hook that will ensure that:
${{<var>:<default>}}
: if the same default is used multiple times this should be extracted toset-state: <var> ${{<var>:<default>}}
ahead (or proposed set-default command #160 )The text was updated successfully, but these errors were encountered: