mirror of
https://github.com/dense-analysis/ale
synced 2024-12-30 18:12:08 +00:00
90b9597d50
This fixer enables buildifier's formatting and "lint fix" modes. Additional options can be provided via `bazel_buildifier_options`. It also implements some basic logic for guessing the file's type. buildifier itself usually does this based on the filenames provided on the command line, but because we're piping our buffer via stdin, we need to do this manually.
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
===============================================================================
|
|
ALE Bazel Integration *ale-bazel-options*
|
|
|
|
===============================================================================
|
|
buildifier *ale-bazel-buildifier*
|
|
|
|
g:ale_bazel_buildifier_executable *g:ale_bazel_buildifier_executable*
|
|
*b:ale_bazel_buildifier_executable*
|
|
Type: |String|
|
|
Default: `'buildifier'`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
g:ale_bazel_buildifier_options *g:ale_bazel_buildifier_options*
|
|
*b:ale_bazel_buildifier_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be set to pass extra options to buildifier.
|
|
|
|
|
|
g:ale_bazel_buildifier_use_global *g:ale_bazel_buildifier_use_global*
|
|
*b:ale_bazel_buildifier_use_global*
|
|
Type: |Number|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|