Age | Commit message (Collapse) | Author |
|
[eruby] Add erubi linter
|
|
Add a luac linter for Lua
|
|
Erubi is yet another parser for eRuby. This is the default parser in
Rails as of version 5.1. It supports some additional syntax with similar
behavior to Rails' extensions to the language, though incompatible.
Rails currently still recommends their own syntax, so GetCommand still
has to do the translation introduced in
https://github.com/w0rp/ale/pull/1114 .
Erubi does not supply an executable—It is intended to be invoked only
from within a Ruby program. In this case, a one-liner on the command
line.
|
|
Make it possible to inject flags of protoc invocation.
|
|
test for ghc options
|
|
Fix #1255: Move extra clang-check args to before user options
|
|
* When working on rust/cargo projects of varying sizes, it may be useful
to either build all possible features (i.e. lint all possible
conditionally compiled code), or even turn off other features for a
quicker edit-lint cycle (e.g. for large projects with large build times)
* Added a g:ale_rust_cargo_default_feature_behavior flag for instructing
cargo to not build any features at all (via `--no-default-features`),
building default features (via no extra flags), or building all possible
features (via `--all-features`)
* Also added a g:ale_rust_cargo_include_features flag for including
arbitrary features to be checked by cargo. When coupled with
g:ale_rust_cargo_default_feature_behavior this allows for full
customization of what features are checked and which ones are ignored
|
|
|
|
|
|
|
|
Typically proto files depend on and make use of proto definitions in
other files. When invoking protoc user can supply paths to inspect for
dependencies.
This patch makes it possible to configure flags passed to protoc. This
makes it e.g., possible to change include paths of the linter's protoc
invocation.
|
|
The test already handled arbitrary paths reasonably well, but setting
the directory interfered via leakage with others tests for some reason.
This patch removes the call to `SetDirectory` in the fixture setup and
the subsequent cleanup in the teardown as they are not required.
|
|
|
|
|
|
|
|
|
|
instead.
|
|
|
|
|
|
Fix erb linter for puppet style erb templates
|
|
|
|
Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
|
|
some of the time.
|
|
* Added option for `gometalinter` to lint package
* added tests for the `gometalinter` command
* changed gometalinter commands to use BufferCdString
|
|
|
|
This reverts commit f5fc746d00a8b8e0aaac1904ce97ad7eb52e1b24.
|
|
|
|
* Add glslls-based LSP linter
* Make logfile configureable
|
|
I'm not even sure why these were here.
|
|
|
|
|
|
|
|
pyls executables
|
|
|
|
|
|
This reverts commit e721f851b41b8f6f31067ae2a137019e1cb5546c.
|
|
|
|
|
|
* add ale_asm_gcc_executable option
* add Vader tests for asm gcc linter command callbacks
|
|
The previous version relied on a zsh-specific behavior where
`<filename` after a pipe could redirect to the first command. This
is the standard way to do it.
|
|
Strip Rails flavoring from eRuby when in a Rails project. Fixes #580.
|
|
|
|
* Added filename keys to gobuild and gometalinter
* Removed skipping files not in current package
* Removed `--include` for gometalinter
* Fixed the tests
|
|
GetCommand conditionally adds a filter (implemented as inline Ruby code
in the command line) to transform some of the problematic
Rails-specific eRuby syntax. Specifically, <%= tags are replaced with
<%.
This does not reduce the effectiveness of the linter, because the
transformed code is still evaluated.
This solution was suggested by @rgo at
https://github.com/w0rp/ale/issues/580#issuecomment-337676607.
|
|
GetCommand conditionally adds a filter (implemented as inline Ruby code
in the command line) to transform some of the problematic
Rails-specific eRuby syntax. Specifically, <%= tags are replaced with
<%.
This does not reduce the effectiveness of the linter, because the
transformed code is still evaluated.
This solution was suggested by @rgo at
https://github.com/w0rp/ale/issues/580#issuecomment-337676607.
|
|
|
|
node_modulse esxecutables like other linters
|
|
|
|
* Added support for linting of proto files
* Added function to get the proper protoc command
|
|
|