Héctor Ramón Jiménez
d40f447931
Upgrade Elm linter to support 0.19 error reports
2018-05-11 19:15:40 +02:00
w0rp
38c66d33fe
Merge pull request #1563 from IngoHeimbach/fix/gcc-fatal-error
...
Fatal GCC errors are handled as errors not warnings
2018-05-09 09:14:38 +01:00
Ingo Heimbach
5fe74c7dc8
Fatal GCC errors are handled as errors not warnings
2018-05-09 09:01:41 +02:00
Øyvind Ingvaldsen
df8c45ed55
smallfix
2018-05-04 22:33:08 +02:00
Øyvind Ingvaldsen
27144eee8c
Added NASM linter
...
Added NASM linter (for nasm filetype).
2018-05-04 21:44:32 +02: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
3f0e1cd05d
Fix #1492 - Make pylint error parsing work on Windows
2018-04-10 15:18:16 +01:00
Johannes Wienke
49c4bfde14
Add support for the java PMD linter
2018-04-09 17:48:00 +02: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
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
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
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
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
INOUE Yosuke
68b9399d4c
handle multibyte string when linting text with redpen ( #1416 )
...
* handle multibyte string when linting text with redpen
* fix error when no string is provided, fix test's expect value
* remove ambiguious `==` operator
2018-03-18 18:12:47 +00:00
Hideaki Tokida
1b1e53ef61
add textlint support for markdown ( #1383 )
2018-03-18 17:28:26 +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
32091fb8ad
add test for markdownlint hander
2018-03-03 19:32:32 -05: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
w0rp
540952ca8e
Try to fix a test which is failing on Windows
2018-03-02 20:47:21 +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
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
Kent Sibilev
863fb60695
updated rust handler test case
2018-01-28 18:35:46 -05:00
w0rp
7b50b3ec82
Merge pull request #1272 from Codezerker/master
...
Add a luac linter for Lua
2018-01-19 17:10:29 +00:00
w0rp
adba2bd919
Allow syntax errors for mypy to be ignored
2018-01-11 16:43:10 +00:00
jiangzhi.xie
112fcf7dd5
Add a luac linter for Lua
2018-01-08 23:32:02 +08:00
Niraj Thapaliya
3b0c67e42c
Add handler test
2017-12-26 14:10:28 -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
w0rp
1568bf8128
Fix the mscs tests on Windows, and use the improved Simplify for all tests instead.
2017-12-19 18:23:09 +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
Johannes Wienke
79aaec5a99
Missing warning level 'suggestion' for vale
...
Vale can also, optionally, raise suggestions. These weren't covered yet.
2017-12-18 17:10:57 +01:00
w0rp
fdaac9bd78
Fix #1210 - Fix a Windows path issue which broke TSLint
2017-12-18 13:27:59 +00:00
w0rp
31241e9ed8
Get the TSLint tempname test running on Windows
2017-12-18 12:01:05 +00:00
w0rp
fdde8af894
Merge pull request #1232 from languitar/vale-json
...
Use JSON output with vale
2017-12-18 10:11:57 +00:00
Nick Diego Yamane
ad1aee0b89
Fix typos in flake8 test messages
...
Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2017-12-17 16:45:57 -04: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
Johannes Wienke
0d046f5f01
Add a vader test for the message handler
2017-12-13 14:37:49 +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
7a88a3605c
Disable a test on Windows for now, because Windows is stupid
2017-12-10 10:12:26 +00:00
w0rp
9152effa9f
Get the new test to pass on Windows
2017-12-10 10:07:04 +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
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
57e1b03435
Add test for solhint handler
2017-12-04 14:23:46 -03: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
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
ae7cd2c090
Fix #918 - Save prettier details for Haskell linters
2017-11-26 18:24:10 +00:00
w0rp
ac7f69063d
#1151 - Overhaul the foodcritic linter for checking files on disk
2017-11-21 13:38:33 +00:00
rhysd
d465b71362
redpen: use 'code' key to show validator
...
instead of embedding it into text
2017-11-21 15:49:04 +09: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
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
d7a60ade77
#852 - Capture error codes for stylelint
2017-11-19 12:30:20 +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
cefc5dc5b8
#852 - Capture error codes for csslint
2017-11-18 23:15:23 +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
rhysd
ca345ffb62
redpen: fix start column
2017-11-17 15:34:07 +09:00
rhysd
44cd07d39c
redpen support for asciidoc, reST, LaTeX and Re:VIEW
2017-11-17 15:34:07 +09: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
e232ea07c2
redpen: fix trailing comma in test data
2017-11-16 19:42:51 +09:00
rhysd
f1314b285c
redpen: support end_lnum and end_col if possible
2017-11-16 19:28:30 +09:00
w0rp
ee07be5f59
Merge pull request #1135 from aurieh/master
...
Capture error codes for checkmake
2017-11-16 10:15:37 +00:00
rhysd
c9c52ef370
add tests and doc for redpen support
2017-11-16 18:40:10 +09:00
w0rp
71d34fc0c6
Fix #1132 - Parse react error codes again for ESLint
2017-11-16 09:34:24 +00:00
aurieh
7565a45b6f
Modify vader tests for d585123
2017-11-16 01:01:59 +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
w0rp
b14377915b
Clean up tests to stop people copy and pasting the wrong examples
2017-11-15 17:21:17 +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
8f80708da6
#852 - Capture error codes for cpplint
2017-11-15 11:28:16 +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