w0rp
8675bfc4ab
Merge pull request #1287 from rhysd/prettier-markdown
...
Enable prettier to format markdown files
2018-01-19 17:16:00 +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
rhysd
13c839cf16
Enable prettier to format markdown files
2018-01-15 11:28:56 +09: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
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
jiangzhi.xie
547716eabb
Fix the doc style for ale-lua
2018-01-08 23:39:04 +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
7a1a534305
Explain /usr/bin/tidy is ignored on macOS and how to install the latest tidy
2018-01-06 20:00:36 +09: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
w0rp
1e34210f9a
Fix some bad indentation
2018-01-02 13:22:40 +00:00
Kevin Tindall
681c35169f
add ghc entry to the ToC
2018-01-01 22:33:43 -06:00
Kevin Tindall
d8f71c46da
haskell_ghc_options are now added to the ghc command
2018-01-01 22:21:21 -06:00
Niraj Thapaliya
c90b45c559
Edit README and help
2017-12-26 14:10:28 -06:00
Yaroslav Ryabukha
0548cf9177
Fix c# documentation variable typo
2017-12-25 16:40:25 +03:00
Jansen Mitchell
2c9c5dec1e
Add Fountain with proselint info to ale.txt. Add Fountain online documentation.
2017-12-20 12:39:10 -06:00
w0rp
e43e7065da
Fix #1115 - Add support for wrapping all commands with an option
2017-12-20 12:20:38 +00:00
Nick Diego Yamane
d4b43d23f4
Add support for linting git commit message files ( #1233 )
2017-12-20 10:10:07 +00:00
w0rp
73f61514c9
Fix #1031 - Make the rust flags configurable
2017-12-19 18:10:29 +00:00
w0rp
0ad2547997
Fix mcsc paths and escaping for Windows
2017-12-19 17:34:34 +00:00
w0rp
647c798eb7
Fix #1226 - Update the mcsc documentation to make it clearer how to use it
2017-12-19 16:54:46 +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
w0rp
e4821c7f2f
Indicate that 4.2.0 is no longer strictly required for prettier-eslint, and add links for prettier-eslint and prettier-standard
2017-12-18 10:37:21 +00:00
w0rp
af7eb2b979
Sort the list of supported tools and add vale to more languages
2017-12-18 10:28:49 +00:00
Daniel Parker
938c150880
Update docs
2017-12-18 09:44:02 +00:00
w0rp
c4956657dc
Merge pull request #1220 from languitar/linter-alex
...
Add a linter for alex
2017-12-17 13:11:49 +00:00
w0rp
09d3ecc49b
Clean up some doc formatting
2017-12-17 12:11:30 +00:00
w0rp
7284270120
Fix some right margin alignment
2017-12-17 12:10:07 +00:00
w0rp
c8ee402cce
Merge pull request #1203 from Carpetsmoker/autocmd-start
...
Add ALEStartLint autocmd
2017-12-17 12:06:57 +00:00
w0rp
e06f2ded9d
Update ale.txt
2017-12-17 11:58:05 +00: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
Martin Tournoij
4825cce1cc
Run before lint cycle, rename autocmds
2017-12-10 13:10:52 +00:00
butlerx
0700c2d900
add google-java-format fixer
2017-12-09 14:25:35 +00:00
w0rp
7a71186d62
Merge pull request #1174 from eborden/eborden/add-brittany-for-haskell-formatting
...
Add brittany for Haskell formatting
2017-12-07 19:15:33 +00:00
w0rp
fbc8ac9553
Update ale.txt
2017-12-07 19:01:13 +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
Martin Tournoij
d6bf13502a
Add ALEStartLint autocmd
...
This grew out of my work in #1193 ; to ensure the statusline was being
updated I had to add:
fun! s:redraw(timer)
redrawstatus
endfun
augroup ALEProgress
autocmd!
autocmd BufWritePost * call timer_start(100, function('s:redraw'))
autocmd User ALELint redrawstatus
augroup end
Which kind of works, but is ugly. With this, I can replace the
`BufWritePost` with:
autocmd User ALEStartLint redrawstatus
Which is much better, IMHO.
Actually, this patch actually replaces adding a function, since you can
do:
augroup ALEProgress
autocmd!
autocmd User ALEStartLint hi Statusline ctermfg=darkgrey
autocmd User ALELint hi Statusline ctermfg=NONE
augroup end
or:
let s:ale_running = 0
let l:stl .= '%{s:ale_running ? "[linting]" : ""}'
augroup ALEProgress
autocmd!
autocmd User ALEStartLint let s:ale_running = 1 | redrawstatus
autocmd User ALELint let s:ale_running = 0 | redrawstatus
augroup end
Both seem to work very well in my testing.
No need to `ale#Statusline#IsRunning()` anymore, I think?
2017-12-07 16:14:20 +00:00
Evan Rutledge Borden
f66837818a
Update doc/ale.txt to include brittany.
2017-12-05 15:04:02 -05:00
Franco Victorio
3e1bd8d922
Update documentation
2017-12-04 14:23:34 -03:00
Jeff Willette
fba3c57872
added importjs fixer
...
- added tests for fixer functions
- added docs
2017-12-05 00:37:31 +09:00
w0rp
a4f8506227
Fix #1186 - Disable checking code with perl by default
2017-12-02 20:43:47 +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
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
a990188e27
Fix #1176 - Add an option for caching failing executable checks
2017-11-30 10:34:51 +00:00
Evan Rutledge Borden
edb3a0c5e4
Add brittany for Haskell formatting
...
`brittany` is one of the options for Haskell source formatting. This
adds the necessary fixer files and documentation to support `brittany`
in `ALE`.
2017-11-28 17:58:13 -05: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
b0114deabc
Reference the JS ESLint options
2017-11-27 15:57:17 +00:00
Benjie Gillam
09f9c21f1b
Fix typo
2017-11-27 15:55:57 +00:00
Benjie Gillam
e84ee4332f
Add support for linting GraphQL with ESLint
2017-11-27 14:41:49 +00:00
w0rp
17574e2fe1
Document go to definition support and put that and completion in an LSP section
2017-11-26 23:02:51 +00:00
w0rp
c07b3b9bfc
Fix #1166 - Add an option for the rls toolchain
2017-11-26 18:47:30 +00:00
w0rp
d07b5b71a4
Add support for post-processing fixer output
2017-11-22 22:32:53 +00:00
w0rp
5d2ab192cf
Support fixer aliases, and make prettier-eslint and prettier-standard just work
2017-11-22 15:31:39 +00:00
w0rp
4b4762697c
#1095 Use --stdin-filepath where available for prettier-eslint
2017-11-22 14:46:14 +00:00
w0rp
520541cd2d
#1095 - Use --stdin-filepath for prettier, where available
2017-11-22 13:46:11 +00:00
w0rp
3f70f1cbf1
Disable piping buffer data into commands for fixing files where needed
2017-11-22 13:01:13 +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
3ef98f42bd
Fix #783 - Do not run Flow with home directory configuration files by default
2017-11-21 14:37:01 +00:00
Shogo NAMEKI
f20e5a4cf0
Add drafter
for checking API Blueprint files ( #1152 )
2017-11-20 10:57:13 +00:00
w0rp
597507e519
Make the message formats configurable with buffer local variables
2017-11-19 23:44:09 +00:00
w0rp
151f9f857c
Add an FAQ entry explaining how to configure ALE for different buffers.
2017-11-19 13:56:09 +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
w0rp
5635b3c864
Fix #741 - Set highlights for entire lines when signs are disabled
2017-11-17 14:29:57 +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
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
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
c9c52ef370
add tests and doc for redpen support
2017-11-16 18:40:10 +09: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
37f2f70439
Update the documentation for GetLoclist
2017-11-15 09:16:36 +00:00
w0rp
48be035da8
Update the documentation for :ALEDetail
2017-11-14 23:29:48 +00:00
w0rp
6b2c61a5cc
Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly
2017-11-14 19:55:46 +00:00
Jeff Willette
20a01404f3
Added support for goimports fixer ( #1123 )
...
* Added support for goimports fixer
* added test and executable check
* fixed test assertions to reflect executable check
2017-11-14 17:37:22 +00:00
w0rp
16e7dc2371
Fix #1069 Support formatting the loclist messages with g:ale_loclist_msg_format
2017-11-14 10:28:36 +00:00
w0rp
a5f7f51c9a
#1121 Tell people how to lint when leaving insert mode with Ctrl+C
2017-11-13 10:27:25 +00:00
Eddie Lebow
e9e29e003c
[eruby] Rename erubylint
→ erb
to match tool name
2017-11-12 23:33:22 -05:00
w0rp
584e0bc7f2
#852 Support formatting echo messages with error codes. No linters set the code
key yet
2017-11-13 00:47:34 +00:00
w0rp
70623ca8a7
Add support for showing Info severities in echoed messages
2017-11-12 23:19:26 +00:00
w0rp
7d056b0839
Update the documentation for the echo message format, so it makes more sense
2017-11-12 23:01:11 +00:00
w0rp
e7b9befaa6
Sort some linter entries alphabetically
2017-11-12 12:11:15 +00:00
w0rp
3c34848e02
Fix #510 Support checking LESS files with stylelint
2017-11-12 12:09:19 +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
w0rp
d20e3bc71c
#1108 Support setting b:ale_linter_aliases to a List
2017-11-12 10:56:53 +00:00
w0rp
b98387d0fa
#1108 Support using Lists and 'all' for b:ale_linters
2017-11-12 10:56:53 +00:00
w0rp
099df0af52
#1108 Support selecting fixers with Lists
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
w0rp
8e0d1f57c6
Fix a typo
2017-11-12 10:56:53 +00:00
w0rp
8cd1ccff84
#1095 Apply all patterns for g:ale_pattern_options, instead of just the first match
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
w0rp
4952e2f143
#1098 Add protoc-gen-lint to the list of supported tools
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
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
f6ac8a9eb9
#1108 Support selecting fixers with Lists
2017-11-11 23:04:08 +00:00
Michael Jungo
f8fec369e5
Add ocaml-language-server for OCaml and ReasonML
2017-11-11 19:27:41 +01:00
w0rp
9e7c493e7e
Fix a typo
2017-11-11 14:27:53 +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
w0rp
bb271859ef
#1098 Add protoc-gen-lint to the list of supported tools
2017-11-10 09:45:07 +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
Marcus Zanona
732d8e3ed6
Add support for linting less files with lessc
2017-11-09 10:39:39 -02: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
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
aurieh
3a57e4d151
Update doc and README for Dart LSP
2017-11-07 10:55:43 +02: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
9cd0d75c4f
Fix #936 - Check the actual files for gosimple and staticcheck
2017-10-31 13:01:01 +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
1aa737cdc9
#817 - Document the buffer toggling options, and define plug mappings for everything
2017-10-29 10:55:02 +00: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
Nathaniel Williams
e4456a4e0e
Add tflint fot Terraform
2017-10-26 19:37:04 +01:00
w0rp
f15c8f4127
#1049 Do not modify runtimepath if the conflict warnings are disabled
2017-10-26 12:26:16 +01:00
w0rp
94bdabb8c3
Merge pull request #1044 from sumnerevans/mail-linters
...
#955 Add vale linter for mail files
2017-10-25 00:40:59 +01:00
Sumner Evans
7ac07a30b8
Fix #643 - Add support for write-good for many languages
2017-10-25 00:28:06 +01:00
Sumner Evans
780844ad73
#955 add documentation
2017-10-24 17:14:42 -06:00
w0rp
1a5ef969a5
Merge branch 'aurieh-master'
2017-10-24 22:45:30 +01:00
Su Shangjun
d644dc797f
example for 'rcfile' on ale_python_pylint_options
...
Two hyphens instead of one will enable the option `rcfile`.
2017-10-24 22:43:54 +01:00
Christopher Swingley
1c56bebd7c
proselint for mail files ( #1037 )
...
Add proselint for mail files
2017-10-24 22:34:38 +01:00
Zack Kourouma
07dad64acb
adds fixer support for hfmt ( #1027 )
...
Add support for fixing Haskell with hfmt
2017-10-24 22:29:04 +01:00
Diego Oliveira
b172cd8b17
Add phan as a linter for php files ( #1026 )
...
Add phan for checking PHP code
2017-10-24 22:25:02 +01:00
w0rp
c248885e57
Merge pull request #1025 from kfox/add-rustfmt-fixer
...
add rustfmt fixer
2017-10-24 22:20:03 +01:00
w0rp
0e4dd95e5d
Merge pull request #1017 from carakan/elixir_format
...
`mix format` new fixer for elixir lang
2017-10-24 22:13:04 +01:00
Su Shangjun
c96e7402ba
example for 'rcfile' on ale_python_pylint_options
...
Two hyphens instead of one will enable the option `rcfile`.
2017-10-24 08:11:56 -05:00
aurieh
f0a0aef33d
Update doc/ale.txt & README.md
2017-10-24 15:09:56 +03:00
Carlos Ramos
be1377f6d7
add basic documentation for elixir mix
2017-10-22 19:44:44 -04:00
Kelly Fox
35031a0b8a
add rustfmt fixer
2017-10-21 12:31:49 -05:00
Zack Kourouma
b43ed6baf5
add doc file for less
2017-10-20 18:30:34 -07:00
Zack Kourouma
e023e7a2fe
add prettier fixer support for 'less' filetype
2017-10-20 18:29:57 -07:00
rhysd
4339af2bb6
add support for remark-lint
2017-10-19 18:17:04 +09:00
w0rp
90d4fb139c
#977 Complain about the lack of configuration files for scalastyle in such a way that users will be directed towards getting it to work
2017-10-15 00:20:43 +01:00