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
w0rp
27e2f53ac9
#1108 Support setting b:ale_linter_aliases to a List
2017-11-12 00:11:50 +00:00
w0rp
ae08f80ead
#1108 Support using Lists and 'all' for b:ale_linters
2017-11-11 23:55:11 +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
w0rp
f6ac8a9eb9
#1108 Support selecting fixers with Lists
2017-11-11 23:04:08 +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
fb00acf734
Remove id from LSP notifications
2017-11-11 19:28:24 +01:00
w0rp
bac02c9d81
#1095 Cache the sorting of patterns for g:ale_pattern_options
2017-11-11 14:26:54 +00:00
w0rp
8c1d6eda81
#1095 Apply all patterns for g:ale_pattern_options, instead of just the first match
2017-11-11 13:44:12 +00: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
w0rp
8ef8a35462
Fix #1101 - Ignore no-implicit-dependencies errors until TSLint supports checking via stdin properly
2017-11-09 10:32:41 +00:00
Taylor Blau
248a5eb2f6
ale_linters: add 'dafny' linter
2017-11-07 22:11:49 -08:00
w0rp
1bf894f48c
Fix #1086 - Implement command chaining for fixers
2017-11-07 23:20:14 +00:00
w0rp
d97924b698
Tell users when a fixer does not exist, and make the no fixers message softer
2017-11-07 19:47:20 +00:00
w0rp
8e71f82f8f
#1006 Fix raw message handling for LSP support in NeoVim
2017-11-06 22:46:32 +00:00
w0rp
fa7d041c26
Fix #1085 - Add a final newline character to tsserver and LSP messages
2017-11-05 21:41:53 +00:00
w0rp
3c8e6ed51c
Modify the shmft tests so they won't mess with your settings
2017-11-05 21:31:41 +00:00
Simon Bugert
716b22d524
Add shfmt fixer for sh files ( #1083 )
...
* Add shfmt fixer for sh files
* Add tests for shfmt fixer
2017-11-05 21:24:41 +00: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
9010458581
#1081 Use executable() for Python executables on Windows, and rename the test files to .exe so they will pass the executable() check
2017-11-04 10:41:08 +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
w0rp
50f7ad3552
#857 - Add b:ale_fix_on_save for controlling fixing on save for specific buffers
2017-10-30 22:19:57 +00:00
w0rp
1575b3d7dd
Merge pull request #1059 from ahmedelgabri/reason-refmt
...
refmt fixer for ReasonML
2017-10-30 11:30:13 +00:00
Ahmed El Gabri
634eb1920c
refmt fixer for ReasonML
2017-10-29 21:48:28 +01:00
w0rp
daecbad543
Fix #719 - Add ALEReset and ALEResetBuffer for removing problems for all buffers or one buffer
2017-10-29 17:03:29 +00:00
w0rp
5fc2b98b73
#817 Add commands for toggling ALE for only the current buffer
2017-10-28 19:36:16 +01:00
w0rp
ea3a8e3c62
#817 Move code for toggling ALE to its own file
2017-10-28 15:41:14 +01:00
w0rp
6e681d9066
Fix #971 - Add an option for turning errors about missing eslint config files off.
2017-10-28 12:11:33 +01:00
Sam Howie
36898436b5
Add hackfmt fixer
2017-10-27 13:42:55 -07:00
w0rp
d4d939bea9
Fix #1039 - Only check the file on disk for dartanalyzer
2017-10-26 23:31:07 +01:00
w0rp
6490d3a5e6
Fix #1041 - Do not request completions shortly after CompleteDone
2017-10-26 23:18:12 +01:00
w0rp
33c2c20e66
Fix #1051 - Support ash and dash for shellcheck and the sh linter
2017-10-26 21:21:42 +01:00
w0rp
3ac92ea529
Fix #1048 - Do not lint files named "."
2017-10-26 20:29:33 +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
40f5e54198
Add test for phpcs error code
2017-10-26 12:22:34 -04:00
w0rp
5917de565d
Fix #491 - Use -x for shellcheck for checking files with sourced files
2017-10-26 00:48:51 +01:00
w0rp
2f5b94e07d
Remove redundant code for the GCC handler, and fix bugs with errors for - not being parsed
2017-10-26 00:09:26 +01:00
w0rp
da365134b5
Fix an exception with notes with no previous message
2017-10-25 23:43:09 +01:00
w0rp
f38ced1e4c
Merge pull request #1047 from thenoseman/linter-hamllint_autodetect_config
...
[PR: hamllint] auto-detect .rubocop.yml and .haml-lint.yml when using haml-lint
2017-10-25 23:01:49 +01:00
w0rp
4af7219078
Make one of the sign tests work in all locales
2017-10-25 22:35:21 +01:00
Gerry Agbobada
25d2af0b25
Handle multiple files localtion lists with gcc handler ( #1034 )
...
Handle multiple files in the GCC handler.
2017-10-25 22:29:36 +01:00
Frank Schumacher
b0b91ba897
force add test fixtures for hamllint
2017-10-25 21:35:24 +02:00
Frank Schumacher
45ed37a5d9
auto-detect .rubocop.yml and .haml-lint.yml
...
Based on path to current file
2017-10-25 20:46:16 +02:00