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