Closed siekermantechnology closed 7 years ago
The relevant source code file (added the .txt extension so I could attach): utils_brightscript.brs.txt
The .bslintrc file we ended up using: bslintrc.txt
Many thanks for your very useful feedback!
I updated the documentation based on the other issue you opened, I hope it's clearer now.
In the future we'll look at making the colour of the messages configurable.
If you want to disable the checks in the comments just set to false the check_comment
section
Like this:
"check_comment": {
"active": false,
"params": {
"TODOs": {
"allow_TODOs": true,
"format": "('|rem)\\s*TODO\\s+([A-Z]{2,3})"
},
"allow_generic_comments": true
}
}
With regards at disabling the print statements check you should disable the check_trace_free
command like so:
"check_trace_free": {
"active": false,
"params": {}
}
only_tab_indents
in check_indentation
to false
only allows spaces. @siekermantechnology Regarding the other issues I haven't addressed in this answer, would you mind opening a separate issue for each one of them so that we can look at them in more detail? Again thanks for feedback.
I have created issues #152, #153 and #154 based on this collection of remarks reported. If these issues do not cover everything highlighted please raise new, individual issues for each specific bug etc.
We've been experimenting with the bslint tool on our utility functions .brs file. Below a list of remarks we encountered while working on it.