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
Is your feature request related to a problem? Please describe.
salt-lint currently attempts to lint all files passed to it, even if they have a header for an alternate renderer (ie. #!py)
Describe the solution you'd like
Have salt-lint ignore files using alternate renderers.
Alternatively, provide an option to call another linting tool (configurable per renderer)
Describe alternatives you've considered
I tried using some combination of find and awk to exclude those files, but the syntax is a mess and escaping it sufficiently to work with tox is a nightmare.
The text was updated successfully, but these errors were encountered:
Thanks @ggiesen for your feature request! Using an alternate renderer may indeed cause false positive results. The simplest solution would indeed be to ignore files with alternate renderer.
"provide an option to call another linting tool (configurable per renderer)" would be my request (pretty pleases) 🙏🙏🙏🙏🙏
I am doing some work with the py renderer and constantly having to change file name from py to sls and back. Would be really cool for the sls to just use the python linting in vscode to just work for sls files with shebangs like #!py or #!pyobjects or #!pydsl
I am doing some work with the py renderer and constantly having to change file name from py to sls and back. Would be really cool for the sls to just use the python linting in vscode to just work for sls files with shebangs like #!py or #!pyobjects or #!pydsl
Thanks @auphofBSF for your feature request! As this depends on the language detecting in VSCode, would you be willing to create a feature request in warpnet/vscode-salt-lint?
Is your feature request related to a problem? Please describe.
salt-lint currently attempts to lint all files passed to it, even if they have a header for an alternate renderer (ie. #!py)
Describe the solution you'd like
Have salt-lint ignore files using alternate renderers.
Alternatively, provide an option to call another linting tool (configurable per renderer)
Describe alternatives you've considered
I tried using some combination of find and awk to exclude those files, but the syntax is a mess and escaping it sufficiently to work with tox is a nightmare.
The text was updated successfully, but these errors were encountered: