dense-analysis / dense-analysis/ale
Configure brakeman (ruby linter) to only lint current file/buffer?
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
Is there a way to configure the brakeman linter to only lint the current file or buffer?
I am aware of `g:ale_ruby_brakeman_options` and know that there is a `--only-files` option for brakeman, so theoretically it should be possible.
But I have no clue how to refer to the current buffer and/or file in the variable definition, if it is possible at all.
Can someone help me? And if that is not possible, then I'd propose this as a new feature.
Contributor guide
Assessment
This issue has not been assessed yet.