dense-analysis / dense-analysis/ale

Configure brakeman (ruby linter) to only lint current file/buffer?

Open
#2,298 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.