Eddie Lebow
ca88e67af0
Allow all Python linter executables to be set to pipenv
.
...
It appends ` run {linter_name}`, analogously to the Ruby linters when
the executable is set to `bundle`
2018-06-05 00:33:26 -04:00
Michał Budzyński
e272207114
Allow linting rust tests and examples with cargo
2018-06-04 11:08:49 +02:00
w0rp
a8bbf49a31
Merge pull request #1625 from elebow/flake8-pipenv-run
...
Allow flake8 executable to be set to `pipenv`.
2018-06-03 18:52:15 +01:00
w0rp
0db12702f3
Respect warn_about_trailing_whitespace for gitlint
2018-06-03 10:46:39 +01:00
Eddie Lebow
dd642b117c
Allow flake8 executable to be set to pipenv
.
...
It appends ` run flake8`, analogously to the Ruby tools when the
executable is set to `bundle`
2018-06-02 21:49:12 -04:00
Colby Dehart
81739be0a0
handled temp file and env variable correctly; added tests
2018-06-02 13:03:56 -04:00
w0rp
786fc0a62f
Merge pull request #1617 from luitzifa/master
...
Fix for puppet version >= 5.4.0
2018-06-02 12:36:24 +01:00
Colby Dehart
d760558007
added mix build path env var to the mix compile
2018-06-01 11:56:47 -04:00
Magnus Ottenklinger
801c12a881
Add mix linter for elixir
2018-05-30 10:38:14 -04:00
Daniel Kraemer
3a1d21e5dd
Fix for puppet version 5.4.0
...
i don't know of any version lower than 5.4.0
2018-05-29 08:55:08 +02:00
w0rp
191967cfee
#1587 - Add deprecation warnings for old linter options
2018-05-28 19:52:27 +01:00
w0rp
8a659b7cc6
Fix #1566 - Add g:ale_python_flake8_change_directory
2018-05-28 16:34:54 +01:00
w0rp
cd0dc0a227
Fix #1611 - Fix perlcritic escaping on Windows
2018-05-28 12:51:06 +01:00
w0rp
eaf35bc611
Merge pull request #1562 from haginaga/support_phan_client
...
Add support phan_client for php
2018-05-28 12:41:13 +01:00
haginaga
ae8dd39760
Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handle
2018-05-27 22:45:43 +09:00
haginaga
feab494286
Fix code style issues and refactor to use ale#Var
2018-05-27 22:21:02 +09:00
w0rp
b67c9a83b2
Merge pull request #1574 from hecrj/elm-0.19
...
Support Elm 0.19
2018-05-26 09:19:30 +01:00
Héctor Ramón Jiménez
7fd0fd514b
Fix multiline indentation
2018-05-25 22:22:47 +02:00
w0rp
51a063be31
Move the sasslint handlers to one location
2018-05-25 20:59:35 +01:00
w0rp
8d49da1f1c
Merge pull request #1573 from zed0/master
...
Run sass-lint from the target's directory
2018-05-25 20:48:16 +01:00
w0rp
d0f579c5fc
Merge pull request #1575 from tsuburin/enable_dmd_warnings
...
Enable warnings of dmd command
2018-05-25 19:38:40 +01:00
w0rp
c1da7866d0
Fix #1584 - Make duplicate msgfmt messages easier to navigate
2018-05-15 18:01:49 +01:00
Héctor Ramón Jiménez
b071f1a795
Make Elm linter backwards compatible with Elm 0.18
2018-05-15 17:06:52 +02:00
Ben Falconer
8a1099bb59
Run sass-lint from the target's directory
2018-05-15 14:36:31 +01:00
Héctor Ramón Jiménez
115952fae3
Show Elm.Kernel as location when report.path
is null
in a general problem
2018-05-12 20:27:33 +02:00
tsuburin
0c472c2244
Added "-wi" to the dmd command to endable warning messages.
2018-05-12 15:03:35 +09:00
Héctor Ramón Jiménez
c3f61c391b
Use message
as text
instead of title
...
`title` does not contain much information which forces to use :ALEDetail most of the time
2018-05-12 04:16:14 +02:00
Héctor Ramón Jiménez
089a07c6a6
Update ale-elm doc
2018-05-11 20:14:00 +02:00
Héctor Ramón Jiménez
2f40da76e6
Test global problems and imported module errors
2018-05-11 20:07:28 +02:00
Héctor Ramón Jiménez
d40f447931
Upgrade Elm linter to support 0.19 error reports
2018-05-11 19:15:40 +02:00
haginaga
230656e678
Fix to follow the Google VimScript Style Guide
2018-05-08 23:47:35 +09:00
haginaga
ffa6fd4bed
Fix to follow the Google VimScript Style Guide
2018-05-08 23:35:14 +09:00
haginaga
eb3ab87569
Modify to be able to use phan_client without g:ale_php_phan_executable
2018-05-08 23:25:11 +09:00
haginaga
8cee39c614
( close w0rp/ale#1561 ) Add support phan_client for php
2018-05-08 14:19:47 +09:00
Øyvind Ingvaldsen
27144eee8c
Added NASM linter
...
Added NASM linter (for nasm filetype).
2018-05-04 21:44:32 +02:00
David Rodríguez
f11637b62b
Add bundle option to mdl
2018-05-01 19:49:45 -03:00
w0rp
6ab3fdc4d0
Close #1521 - Allow the language to be set with simple strings for LSP linters
2018-04-27 22:52:11 +01:00
Andreas Kloeckner
603e61ad71
flake8: Move to the buffer's directory before running flake8 command
2018-04-26 18:53:44 -05:00
w0rp
d8a673515a
Close #1162 - Implement completion support with LSP servers
2018-04-22 12:28:19 +01:00
w0rp
20241c87ef
Merge pull request #1511 from elebow/add-cucumber-checker
...
Add `cucumber` checker for Cucumber files
2018-04-21 09:23:07 +01:00
Eddie Lebow
1e6651e0a0
Add cucumber checker for cucumber files
...
For now, it only detects undefined steps. The nearest `features` dir
above the buffer file is loaded, so step definitions should be found
correctly.
Tested only with Cucumber for Ruby, but it should work for any cucumber
that follows a substantially similar directory structure.
2018-04-20 22:54:29 -04:00
w0rp
f9ba3d924f
Fix #1507 - Add an option for disabling switching directories for pylint
2018-04-17 13:30:30 +01:00
w0rp
fb720251bf
Close #1504 - Add an option for removing --respect-pragma for flow
2018-04-15 12:25:15 +01:00
eyenseo
6c93cded64
Fix rust rls linter toolchain argument
...
This removes the argument if the specified toolchain is empty.
As far as I can tell there is no +nighly (or similar) option [1] leading to
the termination of the server. But since people needed this option and
have yet to complain about it it stays the default for now.
[1] https://github.com/rust-lang-nursery/rls/blob/master/src/main.rs#L87
2018-04-12 20:42:38 +02:00
w0rp
3f0e1cd05d
Fix #1492 - Make pylint error parsing work on Windows
2018-04-10 15:18:16 +01:00
w0rp
da9a005c60
Fix #1490 - Rename the g++ linter to gcc, and add an alias for the old name
2018-04-10 09:31:22 +01:00
w0rp
697fd4ac75
Merge pull request #1488 from languitar/pmd
...
Add support for the java PMD linter
2018-04-09 19:22:14 +01:00
w0rp
719b790574
Close #542 - Add an option for disabling running locally installed executables by default
2018-04-09 19:11:20 +01:00
Johannes Wienke
49c4bfde14
Add support for the java PMD linter
2018-04-09 17:48:00 +02:00
rhysd
4903b966a7
pylint: Move to the buffer's directory before running pylint command ( Fix #1472 )
2018-04-09 16:43:10 +09:00
w0rp
2f2dcb8444
Close #1476 - Make the javac executable configurable
2018-04-08 20:35:06 +01:00
w0rp
1123669839
Close #1315 - Make the vint executable configurable
2018-04-08 18:10:00 +01:00
w0rp
bb775e4e22
Fix #1479 - Respect g:hdevtools_options for hdevtools
2018-04-07 22:50:31 +01:00
P M
85a2a00826
Integration of qmlfmt linting tool ( #1462 )
...
* Add first qmlfmt support
* Add GetCommand() function
- pass --error/-e option
* Add handle unittest
- fix pattern regex
- store col as integer
* Update docs
* Add command callback unit test
2018-04-05 21:09:41 +02:00
Nils Leuzinger
912f632bf5
Add fsc linter for Scala ( #1452 )
...
* Add fsc as a Scala linter
* Pull reused code into `autoload/ale/` directory
* Include fsc into the README
* Add unit test for testing the scala handler
* Add unit test for scala's fsc linter
* Rename scala unit tests for clarity
* Fix typo in README
* Fix typos in doc/ale.txt
* Fix author headline
* Put methods for fsc commands back into fsc.vim
* Move command_callback tests to correct location
* Rewrite handler test so it actually tests handler
* Clarify description of test in test_scala_handler
2018-04-05 21:04:11 +02:00
w0rp
a2acdecbc2
Merge pull request #1455 from Christian-Gibbons/flawfinder_cpp_severity_fix
...
Fix Flawfinder for C++
2018-04-05 15:00:08 +01:00
w0rp
8baab691e9
Merge pull request #1429 from stewy33/master
...
Add support for Mercury language using mmc as a linter.
2018-04-05 12:34:45 +01:00
christian-gibbons
f1d56a343e
Flawfinder for C++:
...
Fix missing variable causing flawfinder to fail for c++
2018-03-28 14:09:03 +00:00
w0rp
95ec9bb780
#1167 Use the make -n parsing for C++ compilers, and document the new option
2018-03-27 19:24:22 +01:00
w0rp
018831d601
Merge pull request #1434 from roel0/master
...
Automatically determine build flags by parsing `make -n` output #1167
2018-03-27 09:55:43 +01:00
Stewy Slocum
84952918cc
add support for mercury language using mmc as linter
2018-03-25 13:33:24 -04:00
P M
107516c757
Add basic qmllint support ( #1419 )
...
* Add basic qmllint support
* Use temp file, remove superfluous error code key, adjust author info
* Add qmllint handler parse test
2018-03-25 11:55:59 +01:00
yasuhiroki
1d33d2cacf
Support textlint for plaintext without textlintrc
2018-03-24 14:40:44 +09:00
w0rp
dbf530e87f
Fix #1373 - Fix a bug with Fish errors not being handled on Linux
2018-03-23 12:17:54 +00:00
Adrián González Rus
87217ae347
fix: Handle ranges for the remark linter #1207
2018-03-22 11:47:16 +01:00
roel0
69237a7e57
Added additional unit tests + adapted review comments #1167
2018-03-21 20:44:35 +01:00
Bojan Mihelac
763fcb8512
fix: po msgfmt output to stdout ( #1435 )
2018-03-21 09:21:20 +01:00
roel0
18d0aeb1a0
* Shell commands should by called async with the help of a command chain
...
* The makefile parser unit test should only test the cflag parser itself
#1167
2018-03-20 21:49:31 +01:00
w0rp
64c95d4881
Merge remote-tracking branch 'tylucaskelley/master'
2018-03-20 20:27:50 +00:00
Ben Paxton
6452c5e2f0
Use govet handler for gosimple, gotype, staticcheck
2018-03-20 14:19:48 +00:00
roel0
38953c4626
Clang parser shoud fallback on old method if parsing fails #1167
2018-03-20 12:37:53 +01:00
roel0
3fb7efa2c6
Added some unit tests and fixed some linting errors for automatic makefile parsing in C #1167
2018-03-20 11:56:46 +01:00
roel0
c47b5fd4b8
Automatically determine build flags by parsing 'make -n' output #1167
2018-03-19 21:56:18 +01:00
Ben Paxton
0cb3e36554
Lint whole package for gosimple and gotype
...
Fixes #936
2018-03-19 15:52:42 +00:00
Hideaki Tokida
1b1e53ef61
add textlint support for markdown ( #1383 )
2018-03-18 17:28:26 +00:00
w0rp
c112ee9dff
Fix #1392 - Only check files on disk for gotype
2018-03-18 17:16:13 +00:00
w0rp
bdd8d2399f
#416 Escape the tslint command
2018-03-18 16:48:28 +00:00
Anthony DeDominic
92e6e4d1ba
Fix awk linter and security concerns. ( #1411 )
...
* Fixed (g)awk linter
* Made it secure, albeit less useful.
* Added gawk handler; the cpplint one was not working?
* Added gawk handler test.
* added warning to gawk handler.
* added gawk command callback test
* added comment about --source
* added back optional commandline option
2018-03-14 17:46:57 +00:00
Christian-Gibbons
b586eba4a4
Handle flawfinder severity level ( #1400 )
...
* Handle flawfinder severity level
* Reverted code allowing Flawfinder to piggyback off of gcc's format handler
* Gave Flawfinder its own format handler and made requested changes.
2018-03-10 10:44:55 +00:00
Ty-Lucas Kelley
2a575ca551
add basic support for markdownlint
2018-03-03 19:16:41 -05:00
w0rp
565ffa0dc5
Use the configured mdl executable, escape it in the command, and add test for it
2018-03-03 13:27:19 +00:00
w0rp
857723e7d5
Merge pull request #1377 from joshleeb/markdown-mdl-options
...
Add options for markdown_mdl linter
2018-03-03 13:16:27 +00:00
Olaf Alders
8a77290553
[WIP] Begin to distinguish between Perl warnings and errors ( #933 )
...
* If a Perl script compiles, there are only warnings and no errors
* Let the first Perl error or warning win.
Take the following example:
***
sub foo {
my $thing;
***
This might have the following messages when we compile it:
Missing right curly or square bracket at warning.pl line 7, at end of
line
syntax error at warning.pl line 7, at EOF
warning.pl had compilation errors.
With the current behaviour, we just get a "syntax error" message, which
isn't all that helpful. With this patch we get "Missing right curly or
square bracket".
* Fix variable scope and pattern matching syntax
* Use named variable to enhance clarity when matching Perl output
* Add more tests for Perl linter
* Remove unnecessary parens
* Simplify check for pattern match
2018-03-02 21:04:52 +00:00
w0rp
b6bf6ecdbc
Try to fix it again
2018-03-02 20:57:55 +00:00
Josh Leeb-du Toit
7e20d9c639
Add options for markdown_mdl linter
2018-02-26 20:10:55 +11:00
Christian-Gibbons
82f8a04e18
New linter: Flawfinder ( #1361 )
...
* Flawfinder support added for C and C++
A minor modification to gcc handler was made to support flawfinder's
single-line output format that does not have a space following the
colon denoting the warning level. gcc handler still passes its
Vader tests after this modification.
* Documentation fixes
* Revert documentation regression
* Added Flawfinder to table of contents
* Removed trailing whitespace
* Follow ALE conventions better
Added additional documentation and Vader tests
2018-02-25 14:11:04 +00:00
w0rp
b6ccd60dd0
Merge pull request #1351 from svanharmelen/f-issue-936
...
This fixes issue #936 by linting the whole package
2018-02-25 11:54:05 +00:00
John Eikenberry
4941bd8d0e
Fix #1358 , fix #1369 - Lint the package on save for go vet instead
2018-02-25 11:39:45 +00:00
Sander van Harmelen
ab5257c344
This fixes issue #936 by linting the whole package
2018-02-20 16:11:35 +01:00
w0rp
5915a0ee39
Escape the ponyc executable
2018-02-18 10:06:40 +00:00
w0rp
608b6dafd4
Merge pull request #1343 from kevinkjt2000/ponyc
...
Add Support for Ponylang
2018-02-18 09:48:35 +00:00
w0rp
5972b97223
#476 Make F401 a warning and E112 a syntax error
2018-02-18 09:44:04 +00:00
Kevin Tindall
716b46e10d
functional pony linter
2018-02-10 13:17:53 -06:00
Fenner Macrae
c2ab885384
Removed trailing whitespaces
2018-02-05 11:33:23 -08:00
Fenner Macrae
5dc884b24d
Fixed lintr::lint_package command
2018-02-05 09:54:15 -08:00
Fenner Macrae
dda132c1a2
Add lint_package support to lintr
2018-02-04 10:57:52 -08:00
w0rp
33b3331b04
#1206 Add support for setting options for gobuild, and escape paths better
2018-02-04 13:55:09 +00:00
w0rp
31e0f48d62
Merge pull request #1326 from michaelquinn32/patch-1
...
Call lintr library before linting
2018-02-04 11:38:05 +00:00
Michael Quinn
b13f290390
Update formatting and tests.
2018-01-31 18:06:35 -08:00
w0rp
52fe924a13
Merge pull request #1308 from lorenzo/patch-1
...
Improving hadolint checker
2018-01-30 16:04:44 +00:00
Michael Quinn
bb095df25e
Call lintr library before linting
...
This solves namespace issues related to the objects used to set linting options.
2018-01-29 20:18:14 -08:00
Jose Lorenzo Rodriguez
4df87eaadd
Added tests for hadolint
2018-01-29 22:21:50 +01:00
w0rp
1832240cff
Merge pull request #1321 from butlerx/feature/po
...
add po support with proselint, writegood, msgfmt and alex
2018-01-28 12:49:18 +00:00
w0rp
65fc5d11c7
Fix #1038 - Automatically detect and use htmlhint configuration files
2018-01-28 12:44:42 +00:00
butlerx
9dad25778f
add po support with proselint, writegood, msgfmt and alex
2018-01-27 12:17:15 +00:00
w0rp
9849c79ff7
Merge pull request #1157 from elebow/eruby-add-erubi-linter
...
[eruby] Add erubi linter
2018-01-24 10:40:57 +00:00
José Lorenzo Rodríguez
dd413a4732
Improving hadolint checker
...
- Displaying dockerfile parse errors instead of silently failing
- Adding error detail with link to the docs
2018-01-23 22:46:59 +01:00
Fran Casas
038789f0ed
Add Elixir linter for dialyxir ( #1257 )
...
* Add Elixir linter for dialyxir
* Update doc/ale.txt with dialyxir
* Keep elixir tools alphabetically ordered in README
* Add a missing entry for dialyxir to the main documentation file.
2018-01-22 12:21:07 +00:00
Christoffer Aasted
7cd25181b2
Fix #1246 - Newer ESLint outputs to stderr
...
I think Vader test still applies for this one.
2018-01-20 03:20:13 +01:00
w0rp
1d3b542031
Merge pull request #1266 from sharils/patch-1
...
Work around hot-reloading issue
2018-01-19 17:18:49 +00:00
w0rp
7b50b3ec82
Merge pull request #1272 from Codezerker/master
...
Add a luac linter for Lua
2018-01-19 17:10:29 +00:00
Eddie Lebow
aa29c91cdc
[eruby] Add erubi linter
...
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.
2018-01-16 00:38:35 -05:00
w0rp
f6af75aac4
Merge pull request #1268 from bbannier/master
...
Make it possible to inject flags of protoc invocation.
2018-01-12 20:43:43 +00:00
w0rp
5005871644
Merge pull request #1256 from jonatanolofsson/master
...
Fix #1255 : Move extra clang-check args to before user options
2018-01-12 12:09:30 +00:00
w0rp
65fa901ef0
Merge pull request #1275 from ipetkov/cargo-features
...
Teach ALE about cargo features and add some configuration options
2018-01-12 12:04:26 +00:00
Ivan Petkov
2ef45ab745
Teach ALE about cargo features and add some configuration 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
2018-01-11 19:24:44 -08:00
w0rp
adba2bd919
Allow syntax errors for mypy to be ignored
2018-01-11 16:43:10 +00:00
sharils
29acafdaf4
Work around hot-reloading issue
...
See https://github.com/phoenixframework/phoenix/issues/1165 for more detail
2018-01-10 20:53:02 +08:00
jiangzhi.xie
112fcf7dd5
Add a luac linter for Lua
2018-01-08 23:32:02 +08:00
Benjamin Bannier
b5a5cdf920
Make it possible to inject flags of protoc invocation.
...
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.
2018-01-07 17:56:56 +01:00
w0rp
f1747901cc
Merge pull request #1262 from rhysd/avoid-old-tidy
...
html: Avoid old tidy on macOS
2018-01-07 16:02:49 +00:00
Jelte Fennema
b6d1c41925
Go: Add gotype support ( #1099 )
2018-01-07 12:11:01 +00:00
rhysd
401b964e9c
html: Avoid old tidy on macOS
...
On macOS, Apple's command line toolchain installs very old `tidy`
command (It was released on 31 Oct 2006). It does not consider new specs
such as HTML5 so we should avoid it.
2018-01-03 01:50:31 +09:00
Jonatan Olofsson
ff8d4c5286
Fix #1255 : Move extra clang-check args to before user options
2018-01-02 16:09:38 +01:00
w0rp
5285b0b332
Merge pull request #1260 from kevinkjt2000/add-ghc-options
...
haskell_ghc_options are now added to the ghc command
2018-01-02 14:05:40 +00:00
w0rp
80342b119a
Merge pull request #1252 from nthapaliya/fish-shell-linter
...
Fish shell linter
2018-01-02 13:32:59 +00:00
w0rp
d9a3722e06
Merge branch 'add-fountain-proselint-support'
2018-01-02 13:23:00 +00:00
Kevin Tindall
d8f71c46da
haskell_ghc_options are now added to the ghc command
2018-01-01 22:21:21 -06:00
Niraj Thapaliya
e2d3dca486
Support for fish file linting
2017-12-26 12:25:17 -06:00
Jansen Mitchell
4d4d2d8122
Add four spaces, not tabs.
2017-12-20 22:53:03 -06:00
w0rp
87ffc9b55c
Make the error codes configurable for gitlint
2017-12-20 10:46:08 +00:00
Nick Diego Yamane
d4b43d23f4
Add support for linting git commit message files ( #1233 )
2017-12-20 10:10:07 +00:00
Jansen Mitchell
4b56b91ac8
Add support for Fountain with proselint.
2017-12-19 20:27:12 -06:00
w0rp
73f61514c9
Fix #1031 - Make the rust flags configurable
2017-12-19 18:10:29 +00:00
w0rp
cc8e5502c8
Fix #1240 - Parse line and column numbers for fatal embertemplatelint errors
2017-12-19 17:42:51 +00:00
w0rp
0ad2547997
Fix mcsc paths and escaping for Windows
2017-12-19 17:34:34 +00:00
w0rp
a7d51afda5
Merge pull request #1221 from JelteF/patch-1
...
Fix erb linter for puppet style erb templates
2017-12-19 14:09:00 +00:00
Johannes Wienke
1e574ed5f7
Make alex a file linter
...
alex does not find its configuration file when using temporary files for
input.
2017-12-18 15:26:52 +01:00
Johannes Wienke
1626fce1c9
Enable the vale linter also for further markup languages ( #1230 )
...
* Enable the vale linter also for LaTeX
* Enable the vale linter for rst files
2017-12-18 10:15:00 +00:00
Johannes Wienke
96b90b45db
Use JSON output with vale
...
Switches all vale instances to JSON output and provides an appropriate
handler for that. Without JSON, no end_col is provided and text
highlighting only catches the first character of every result.
2017-12-17 16:49:57 +01:00
w0rp
c4956657dc
Merge pull request #1220 from languitar/linter-alex
...
Add a linter for alex
2017-12-17 13:11:49 +00:00
Stephen Rathbone
78d1f5f5df
Fix PHP linter to support PHP 7.2 lint output
2017-12-13 21:23:18 +00:00
Jelte Fennema
e7eb272714
Fix erb linter for puppet style erb scripts
2017-12-13 14:59:59 +01:00
Johannes Wienke
55ca96bd83
Add a linter for alex
...
https://github.com/wooorm/alex
Enabled for text-like file formats and documented in README and doc.
2017-12-13 14:37:42 +01:00
w0rp
d2a6d9a915
Fix #1216 - Suppress trailing whitespace warings for ansible-lint when the option is set
2017-12-13 11:14:31 +00:00
w0rp
cebe7c3918
Fix #1210 - Do not report this file as a temporary file in the quickfix list for TSLint
2017-12-10 09:58:33 +00:00
w0rp
c6fc9cdb7b
Merge pull request #1192 from fvictorio/add-solhint-support
...
Add solhint support
2017-12-07 18:50:33 +00:00
w0rp
63ecc8341d
Fix #1202 - Do not use --all-targets by default, because it doesn't work some of the time.
2017-12-07 18:47:01 +00:00
Franco Victorio
85e0bd3314
Extract error code from message
2017-12-05 16:02:15 -03:00
Jeff Willette
e2a8f759d8
Added option for gometalinter
to lint package ( #1156 )
...
* Added option for `gometalinter` to lint package
* added tests for the `gometalinter` command
* changed gometalinter commands to use BufferCdString
2017-12-04 18:42:36 +00:00
Franco Victorio
0d627d4613
Add solhint support
2017-12-04 14:23:23 -03:00
w0rp
2f9869de44
Escape the perl executable, and cover the callbacks with tests
2017-12-02 20:47:01 +00:00
w0rp
acd1260339
Revert "Fix #1186 - Use -w by default for Perl, which does not execute code"
...
This reverts commit f5fc746d00
.
2017-12-02 20:38:28 +00:00
Dave Wongillies
2bd966c5cc
Puppet: allow for when parser doesn't supply column for errors ( #1182 )
...
* puppet: add test for puppet parser validate
* puppet: handle where parser validate doesn't supply the column
* puppet: add test for when parser validate doesn't supply column
* Fix puppet regex to handle Windows paths
2017-12-02 12:29:17 +00:00
w0rp
f5fc746d00
Fix #1186 - Use -w by default for Perl, which does not execute code
2017-12-02 12:26:44 +00:00
Sven-Hendrik Haase
51b127a4fd
Add glslls ( #1179 )
...
* Add glslls-based LSP linter
* Make logfile configureable
2017-12-01 17:36:44 +00:00
Carlos Coêlho
daee4a4722
Add prospector for checking Python code ( #1183 )
2017-12-01 17:04:30 +00:00
w0rp
a43ada93e4
Allow warnings about trailing whitespace to be disabled for pycodestyle, and cover the flake8 code with tests
2017-11-28 10:12:49 +00:00
w0rp
0ab689db0a
Allow warnings about trailing blank lines to be hidden for flake8 and pycodestyle
2017-11-28 10:08:34 +00:00
w0rp
4e821e64c7
Fix #1168 - Make the ruby linter executable configurable
2017-11-28 09:48:35 +00:00
Benjie Gillam
e84ee4332f
Add support for linting GraphQL with ESLint
2017-11-27 14:41:49 +00:00
w0rp
c07b3b9bfc
Fix #1166 - Add an option for the rls toolchain
2017-11-26 18:47:30 +00:00
w0rp
52f3ad7c75
Escape the pyls executable in the command, and support running virtualenv pyls executables
2017-11-21 23:51:18 +00:00
w0rp
e6fb32b792
Remove a Unicode character Vint complains about
2017-11-21 16:39:05 +00:00
w0rp
3ef98f42bd
Fix #783 - Do not run Flow with home directory configuration files by default
2017-11-21 14:37:01 +00:00
w0rp
ac7f69063d
#1151 - Overhaul the foodcritic linter for checking files on disk
2017-11-21 13:38:33 +00:00
w0rp
5a3a695586
Merge pull request #1154 from deltaskelta/add-filename-key-for-gobuild
...
Added filename key for `go build` linter
2017-11-20 20:58:43 +00:00
w0rp
c9e203e620
Fix #859 Include test and jaxb Java source paths when available
2017-11-20 18:54:57 +00:00
Jeff Willette
b9f02ffb27
Added filename key for go build
linter
...
- Re: f224ce8a37
- The issues that prompted the above commit which reverted changes made to `go build` and
`gometalinter` seemed to suggest that the main issue was with gometalinter and that
changes should be put into different commits so they are independent of each other
- This commit reinstates the changes to the `go build` linter which seem to be uncontested
and it also seems absolutely necessary to show errors from all files in the package which
may have caused a build failure.
2017-11-20 23:50:14 +09:00
Shogo NAMEKI
f20e5a4cf0
Add drafter
for checking API Blueprint files ( #1152 )
2017-11-20 10:57:13 +00:00
w0rp
f224ce8a37
Revert "Show problems from other files for gobuild and gometalinter"
...
This reverts commit e721f851b4
.
2017-11-20 10:43:45 +00:00
RedBug312
1afe2992e2
Make options configurable for iverilog ( #1143 )
2017-11-19 22:59:17 +00:00
w0rp
62904d39ee
#852 - Capture error codes for tflint
2017-11-19 13:37:56 +00:00
w0rp
fa7f0e2b85
#852 - Capture error codes for swiftlint
2017-11-19 13:33:20 +00:00
w0rp
b16c82f2f1
#852 - Capture error codes for swaglint
2017-11-19 12:46:06 +00:00
w0rp
01b2971d04
#852 - Capture error codes for slim-lint
2017-11-19 01:08:20 +00:00
w0rp
7123f7236b
#852 - Capture error codes for reek
2017-11-19 00:54:09 +00:00
w0rp
c012563984
#852 - Capture error codes for nimcheck
2017-11-19 00:38:00 +00:00
w0rp
3c8f3221df
#852 - Capture error codes for mcs and mcsc
2017-11-19 00:19:09 +00:00
w0rp
40e26f0bc2
#852 - Capture error codes for luacheck
2017-11-19 00:02:35 +00:00
w0rp
41cb174f3a
#852 - Capture error codes for jscs
2017-11-18 23:55:47 +00:00
w0rp
7455e2e97d
#852 - Capture error codes for checkstyle
2017-11-18 18:29:12 +00:00
w0rp
49ccfb1a00
Fix #516 - Add support for pyflakes for Python
2017-11-17 18:11:28 +00:00
w0rp
0e96d4576a
Merge pull request #1142 from rhysd/redpen-ext
...
* redpen support for asciidoc, reST, LaTeX and Re:VIEW
* redpen: fix start column
* add redpen as text linter
2017-11-17 16:34:01 +00:00
Thomas van der Burgt
22ec81e1de
add ale_asm_gcc_executable option ( #1138 )
...
* add ale_asm_gcc_executable option
* add Vader tests for asm gcc linter command callbacks
2017-11-17 10:02:30 +00:00
rhysd
79f15b0e30
add redpen as text linter
2017-11-17 16:43:16 +09:00
rhysd
44cd07d39c
redpen support for asciidoc, reST, LaTeX and Re:VIEW
2017-11-17 15:34:07 +09:00
Eddie Lebow
b390c69642
erb, erubis: Redirect file into first command.
...
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.
2017-11-16 23:10:25 -05:00
w0rp
1f4f19cbd4
Merge pull request #1133 from nicwest/linter-clj-joker
...
add joker handler for clojure
2017-11-16 11:06:27 +00:00
w0rp
3ddb858881
Merge pull request #1137 from rhysd/redpen
...
Add Redpen support
2017-11-16 10:44:52 +00:00
rhysd
f1314b285c
redpen: support end_lnum and end_col if possible
2017-11-16 19:28:30 +09:00
w0rp
f90a2d5474
Merge pull request #1114 from elebow/eruby-strip-rails-flavoring
...
Strip Rails flavoring from eRuby when in a Rails project. Fixes #580 .
2017-11-16 10:19:32 +00:00
rhysd
981cb95d80
add redpen support
2017-11-16 18:12:08 +09:00
aurieh
d585123d64
#852 Capture error codes for checkmake
2017-11-16 00:58:33 +02:00
Nic West
eda20d0585
add joker handler for clojure
...
Adds new linter for clojure using joker
https://github.com/candid82/joker
fixes #975
ref #544 #1040
2017-11-15 22:23:46 +00:00
w0rp
1d65e5692f
#852 Capture error codes for pycodestyle, and consider every code except E999 to be style errors or warnings
2017-11-15 17:47:24 +00:00
w0rp
cf538c3a58
#852 Capture error codes for pylint, throw away the msgid values
2017-11-15 17:35:34 +00:00
w0rp
08f4f8f0fc
#852 Capture error codes for shellcheck
2017-11-15 17:26:52 +00:00
Jeff Willette
e721f851b4
Show problems from other files for gobuild and gometalinter
...
* Added filename keys to gobuild and gometalinter
* Removed skipping files not in current package
* Removed `--include` for gometalinter
* Fixed the tests
2017-11-15 16:34:30 +00:00
w0rp
290ed4885b
Fix #1131 - Capture both output streams for golint
2017-11-15 16:24:29 +00:00
w0rp
ff5c6b0509
#852 - Capture error codes for ansible-lint
2017-11-15 10:11:32 +00:00
Aliou Diallo
425482116e
#852 - Capture error codes for Rubocop
2017-11-14 17:50:15 +01:00
w0rp
d8f9aef84a
#852 - Capture error codes for flake8
2017-11-14 09:41:29 +00:00
w0rp
037aaae593
#852 - Capture error codes for TSLint
2017-11-13 23:36:15 +00:00
w0rp
6c112dd1cc
Fix #1122 - Handle notes for shellcheck errors again, and use type 'I' for notes
2017-11-13 16:08:09 +00:00
Eddie Lebow
ad7ea36307
[eruby] Add GetCommand to erubis linter
...
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 .
2017-11-12 23:33:34 -05:00
Eddie Lebow
ea7f68226e
[eruby] Add GetCommand to erb linter
...
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 .
2017-11-12 23:33:30 -05:00
Eddie Lebow
e9e29e003c
[eruby] Rename erubylint
→ erb
to match tool name
2017-11-12 23:33:22 -05:00
w0rp
3c34848e02
Fix #510 Support checking LESS files with stylelint
2017-11-12 12:09:19 +00:00
w0rp
7edcb2210b
Show problems from other files for lessc
2017-11-12 11:35:01 +00:00
w0rp
cd5da50531
Add tests for the command and executable callbacks, and make them use local node_modulse esxecutables like other linters
2017-11-12 11:25:24 +00:00
Eddie Lebow
365d023d0e
perlcritic: all issues are warnings
...
Perlcritic is a style checker, not a syntax validator.
This change was originally proposed by @RsrchBoy in
https://github.com/w0rp/ale/pull/784 .
2017-11-12 10:56:53 +00:00
Michael Jungo
39107a48b9
Add ocaml-language-server for OCaml and ReasonML
2017-11-12 10:56:53 +00:00
jnduli
6c60ca24c1
Add rstcheck linter to check for errors in restructured text ( #1090 )
2017-11-12 10:56:53 +00:00
Florian Beeres
52b6024997
Handle flow extra errors ( #946 )
...
Show more information for Flow errors with :ALEDetail
2017-11-12 10:56:53 +00:00
Jeff Willette
8bc44ed585
Added support for linting of proto files ( #1098 )
...
* Added support for linting of proto files
* Added function to get the proper protoc command
2017-11-12 10:56:53 +00:00
w0rp
a8c5e0f4dc
Simplfy semver handling and share the semver version cache across everything
2017-11-12 10:56:53 +00:00
wuqiong4945
911b6d8f71
add 'output_stream': 'stderr', let golint work
2017-11-12 10:56:53 +00:00
w0rp
3111c6c1ca
Merge pull request #1111 from elebow/perlcritic-only-warnings
...
Perlcritic: All issues are warnings
2017-11-11 23:47:11 +00:00
Eddie Lebow
4d44996af6
perlcritic: all issues are warnings
...
Perlcritic is a style checker, not a syntax validator.
This change was originally proposed by @RsrchBoy in
https://github.com/w0rp/ale/pull/784 .
2017-11-11 17:46:21 -05:00
Michael Jungo
f8fec369e5
Add ocaml-language-server for OCaml and ReasonML
2017-11-11 19:27:41 +01:00
jnduli
6c014a25e8
Add rstcheck linter to check for errors in restructured text ( #1090 )
2017-11-11 12:10:17 +00:00
Florian Beeres
1ddc3eec6d
Handle flow extra errors ( #946 )
...
Show more information for Flow errors with :ALEDetail
2017-11-11 12:07:08 +00:00
Jeff Willette
27780cbb23
Added support for linting of proto files ( #1098 )
...
* Added support for linting of proto files
* Added function to get the proper protoc command
2017-11-10 09:37:23 +00:00
w0rp
d425b8a18a
Simplfy semver handling and share the semver version cache across everything
2017-11-09 23:42:54 +00:00
Marcus Zanona
1ad7d5e6ca
Remove unnecessary cat command from less#lessc
2017-11-09 19:52:08 -02:00
Marcus Zanona
4bc31fcd18
Fix imported files path lookup on less#lessc linter
...
Ale saves a temporary file (%t) which does not share the same path as
the original file, breaking import statements with relative URLs.
This fix sends content to `lessc` over stdin and adds
the current file (%s) as one of the included paths, so statements like
`@import '../utils' will correctly resolve based on the current file path.
2017-11-09 13:46:03 -02:00
Marcus Zanona
7ed82ab712
Adjust author info on less#lessc linter
2017-11-09 13:40:24 -02:00
Marcus Zanona
decf8188bc
Adjust formatting on less#lessc linter
2017-11-09 13:39:38 -02:00
w0rp
c1fa88e78c
Merge pull request #1105 from wuqiong4945/master
...
add 'output_stream': 'stderr', let golint work
2017-11-09 13:33:10 +00:00
wuqiong4945
bcc215c4e0
add 'output_stream': 'stderr', let golint work
2017-11-09 21:14:29 +08:00
Marcus Zanona
732d8e3ed6
Add support for linting less files with lessc
2017-11-09 10:39:39 -02:00
w0rp
8ef8a35462
Fix #1101 - Ignore no-implicit-dependencies errors until TSLint supports checking via stdin properly
2017-11-09 10:32:41 +00:00
Auri
8a4cf923a8
Add PyLS linter ( #1097 )
...
* Support PyLS (python language server)
* Replace pyls#GetProjectRoot and add more config types to ale#python#FindProjectRoot
2017-11-08 17:58:56 +00:00
Taylor Blau
da8012971a
ale_linters/dafny: lint only saved files
2017-11-08 09:28:24 -08:00
Taylor Blau
248a5eb2f6
ale_linters: add 'dafny' linter
2017-11-07 22:11:49 -08:00
aurieh
b5254e9760
Add dart LSP ( resolves #1006 )
2017-11-07 10:55:43 +02:00
David Sierra DiazGranados
7086586b17
Add executable option for phpmd linter ( resolves #1076 ) ( #1078 )
...
* Add executable option for phpmd linter (resolves #1076 )
* Add test for phpmd executable option
2017-11-05 18:53:12 +00:00
w0rp
7b5108d934
Fix #626 - Automatically use cargo check
and cargo check --all-targets
for cargo versions that are new enough
2017-11-05 18:37:44 +00:00
w0rp
34674e088d
Fix #1061 - Handle the filenames returned by javac
2017-11-05 15:33:31 +00:00
w0rp
c26e5e277e
Fix #491 - Only set -x for shellcheck for versions which support the option
2017-11-03 22:08:26 +00:00
Antoine Reilles
54f44c2d0f
windows compatible warning match pattern for erlc ( #1071 )
...
* windows compatible warning match pattern for erlc
2017-11-03 18:56:34 +00:00
Derrick Nelson
a786e01127
Prevent logging of errors in the php linter.
2017-10-31 20:02:59 -04:00
w0rp
9cd0d75c4f
Fix #936 - Check the actual files for gosimple and staticcheck
2017-10-31 13:01:01 +00:00
w0rp
d4d939bea9
Fix #1039 - Only check the file on disk for dartanalyzer
2017-10-26 23:31:07 +01:00
w0rp
33c2c20e66
Fix #1051 - Support ash and dash for shellcheck and the sh linter
2017-10-26 21:21:42 +01:00
Nathaniel Williams
22e8050639
don't use stdin with tflint
2017-10-26 14:14:28 -05:00
Nathaniel Williams
e4456a4e0e
Add tflint fot Terraform
2017-10-26 19:37:04 +01:00
w0rp
6ed456f99c
Merge pull request #1009 from sirbrillig/add/phpcs-include-code-option
...
phpcs: include sniff code in message
2017-10-26 17:49:46 +01:00
Payton Swick
aca66a54a5
Include sniff code in message
2017-10-26 12:22:08 -04:00