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
w0rp
960ae62aaa
Make the sign placement test pass more often by using another shell
2017-10-25 01:11:46 +01:00
w0rp
680672117f
Make the highlight placement test pass more often by using another shell
2017-10-25 01:05:48 +01:00
w0rp
5029078df3
Set better highlights for write-good
2017-10-25 00:58:16 +01:00
w0rp
eec529ad9d
Fix the write-good tests on Windows
2017-10-25 00:39:23 +01:00
Sumner Evans
7ac07a30b8
Fix #643 - Add support for write-good for many languages
2017-10-25 00:28:06 +01:00
w0rp
1a5ef969a5
Merge branch 'aurieh-master'
2017-10-24 22:45:30 +01:00
aurieh
b401772d23
Add Vader tests
2017-10-25 00:39:54 +03:00
w0rp
fe729dab58
Merge pull request #1030 from grddev/run-tests-osx
...
Update test scripts to work on OS X
2017-10-24 22:30:42 +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
w0rp
b952dda386
Get all tests to pass on Windows
2017-10-23 23:09:40 +01:00
w0rp
231398dddc
Get more of the tests to pass on Windows
2017-10-23 01:26:31 +01:00
Carlos Ramos
3212278c91
fix test's and delete unused code
2017-10-22 19:20:38 -04:00
Carlos Ramos
43653ef548
new fixer elixir mix format
...
(only available in elixir > 1.6)
2017-10-22 19:20:38 -04:00
w0rp
c4579e1809
Merge pull request #1032 from diegoholiveira/tests_phpmd
...
Fix the regex of phpmd
2017-10-22 18:02:44 +01:00
Diego Oliveira
5b986ce5d3
Fix the regex of phpmd
2017-10-22 14:56:09 -02:00
Gustav Munkby
ed93cd1494
Update test scripts to work on OS X
...
There were a couple of issues
- `paste` requires a file argument
- `mktemp` requires a pattern argument
- `sort` doesn't support `-h`, but `-n` is enough for sorting on numbers, and `-s` was introduced to perform a stable sort instead.
The main issues were that BSD `sed` does not support:
- Alternation (`\|`) - solved by splitting to multiple patterns
- Bound shortcuts (`x\+`, `x\?`) - solved by replacing with `xx*` and `x\{0,1\}` respectively
- Lower-casing (`\L`) - solved by piping through `tr` instead (this will lowercase everything and not only the integration names, but I assumed that wasn't too much of an issue, as a portable alternative for the selective downcasing would be much more involved).
2017-10-22 10:42:36 +02:00
Kelly Fox
35031a0b8a
add rustfmt fixer
2017-10-21 12:31:49 -05: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
5292d2f349
Get more tests to pass on Windows
2017-10-18 23:42:51 +01:00
w0rp
81d993086e
#904 - Allow linting to run on save a second after :q fails
2017-10-17 00:37:29 +01:00
Carlos Ramos
8a8879a28f
fix test't
2017-10-16 12:08:10 -04:00
Carlos Ramos
07ebfbeef0
Add new fixer tslint for typescript, fixes #932
2017-10-16 00:53:17 -04: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
w0rp
ef495ba32d
#904 Do not run linters on :wq or :x
2017-10-14 23:22:13 +01:00
w0rp
b2e6d0dff8
Rename the autocmd test file, as I can never remember the old name
2017-10-14 21:31:44 +01:00
w0rp
d8ea83e344
Clean up the test variable
2017-10-14 17:27:05 +01:00
w0rp
8eb41dc94c
Fix the test for doing nothing for CtrlPFunky buffers
2017-10-14 17:24:29 +01:00
w0rp
e71c4a8bea
#965 - Support limiting the number of signs ALE will set
2017-10-12 23:04:54 +01:00
w0rp
dded246aba
Merge pull request #968 from adriaanzon/luacheck-whitespace
...
Luacheck: Respect warn_about_trailing_whitespace option
2017-10-12 22:06:48 +01:00
Adriaan Zonnenberg
221cb0f8cf
Add some extra tests for luacheck whitespace warnings
2017-10-12 22:59:45 +02:00
Carlos Ramos
844354cfed
Add new fixer: TrimWhitespace ( #991 )
...
add a new fixer: trim_whitespace
2017-10-12 09:27:24 +01:00
w0rp
02c8793c53
#965 Check ale#ShouldDoNothing() less and such often, for better performance
2017-10-11 23:51:41 +01:00
Bailey Stoner
620ec32da1
Add a test to ensure $VIRTUAL_ENV is respected.
2017-10-11 13:42:38 -07:00
Linda_pp
70177480ba
Add llc integration for LLVM IR ( #979 )
...
Check LLVM IR with llc
2017-10-10 10:13:09 +01:00
w0rp
a809c4fa3a
Get more random tests to pass on Windows
2017-10-08 23:26:50 +01:00
w0rp
47577564a2
Get more command callback tests to pass on Windows
2017-10-05 22:31:09 +01:00
aliou
e376f0ae44
gofmt fixer for Go ( #970 )
...
Add a gofmt fixer for golang.
2017-10-03 18:54:35 +01:00
w0rp
3ab414de1a
Fix #964 - Remove signs when multiple signs end up on a single line
2017-10-03 10:00:16 +01:00
rhysd
753592ca66
Fix typos
2017-10-03 01:11:54 +09:00
w0rp
e0bd490ed9
Get tslint and xmllint command callback tests to pass in Windows
2017-10-01 21:23:42 +01:00
w0rp
54a08c5f8c
Add a Scripts dir for tests on Windows
2017-10-01 20:26:18 +01:00
w0rp
5091e2de45
Get fixer tests to work on Windows
2017-10-01 20:23:41 +01:00
w0rp
638ca42082
Use local versions of yapf on Windows, and get the callback tests to pass
2017-10-01 18:47:54 +01:00
w0rp
4634b1be93
Fix Flow and Idris tests for Windows
2017-10-01 18:41:41 +01:00
w0rp
5731616cd2
Get the mcsc handler tests to pass on Windows
2017-10-01 17:36:47 +01:00
Ruslan Osmanov
a640d3b022
Added g:ale_php_phpstan_configuration option
2017-09-30 23:36:10 +07:00
w0rp
c989ef0fc6
Fix an issue with the check-supported-tools-tables script
2017-09-28 13:32:02 +01:00
w0rp
9fc01bd246
Merge pull request #952 from hernot/master
...
Add mcsc for checking C# code.
2017-09-28 13:29:55 +01:00
Xristoph Hintermüller
8f6044b8b6
Implemented review recommendations
...
Implements suggestions and recommendations suggested by the first review
of the "Advance C# linter based on mcs -t:module (#952 )" pull request.
- Clarifies and simplifies description of linters and options
- Added links to help file and marked the mcsc linter as to be run only
when file in buffer is saved or loaded.
- Added comments to the mcsc.vim file to clarify code
- removed type checks considered not necessary be reviewer.
- addresses findings by vader
- removed call to getcwd and cd in vim script
- handler expands file names relative to route of source tree into
absolute pathes. Fixes errors not being marked when vim is started
from subdirectory of source tree.
- implements tests for mcs.vim and mcsc.vim linter
2017-09-27 13:21:05 +02:00
Ray Zane
cb56cbb714
There seems to be a bug in eslint that causes the --config
option to
...
not detect node_modules correctly. The `-c` option, however, works fine.
2017-09-24 13:57:18 -04:00
Tim Byrne
3910b025b2
Move dialect setting before user options (shellcheck)
2017-09-22 17:04:00 -05:00
Markus Doits
5a1ebdb633
fix typo RUBUCOP
--> RUBOCOP
for slim lint
...
this actually makes 6ebd8f355c
work
2017-09-18 12:29:20 +02:00
Markus Doits
6ebd8f355c
slimlint: Search for .rubocop.yml and use it
...
This fixes slim-lint not honoring a `.rubocop.yml` in the file's or
parent directory. Due to the way slim-lint calls rubocop, it requires
the special `SLIM_LINT_RUBUCOP_CONF` env var to pick up the
`.rubocop.yml` if it is not run on the real file (which is the case
here).
See https://github.com/sds/slim-lint/blob/master/lib/slim_lint/linter/README.md#rubocop
2017-09-15 18:56:59 +02:00
w0rp
a59d1ddbf3
Make temporary file detection work on just about all platforms
2017-09-14 00:11:17 +01:00
w0rp
71c2e65d64
Fix a mistake in the flow tests
2017-09-14 00:10:47 +01:00
w0rp
52c933cd72
Report problems in other files for brakeman, and get the tests to pass on Windows
2017-09-13 23:33:13 +01:00
w0rp
3d2bddf4af
Get some more random tests to pass on Windows
2017-09-13 23:30:39 +01:00
w0rp
91df9ba2c0
Fix #924 - Make changing the sign column color work again
2017-09-12 21:17:54 +01:00
w0rp
e2271b769c
Ban getcwd() from the codebase, as it causes problems
2017-09-12 09:36:16 +01:00
w0rp
661ed6e40b
Fix #923 Use package.json as a last resort for eslint --fix
2017-09-12 09:10:37 +01:00
w0rp
a7614d9502
Get more tests to pass on Windows
2017-09-11 22:25:15 +01:00
w0rp
8eb99c3cec
Fix #922 - Prefer nearer ESLint configuration files with lower precedence filenames for eslint --fix
2017-09-11 21:53:45 +01:00
w0rp
b6a487ccf9
Fix some random test issues for Windows
2017-09-11 00:47:27 +01:00
w0rp
cb8a140141
Require function! to be used instead of function
2017-09-11 00:47:10 +01:00
w0rp
65e6e50bf8
Explain the table of contents script better, and simplify it a bit
2017-09-10 19:52:01 +01:00
w0rp
9d24cc4047
Fix numerous issues with integration documentation tags and the table of contents, and add a script to check for theses issues
2017-09-10 19:42:45 +01:00
w0rp
c4ad92e458
Move scripts for tests into the test directory, and do not export the Batch script for running tests
2017-09-10 13:19:08 +01:00
Clément DOUIN
18a7d32c4c
Elm local install support ( #915 )
...
* Add Elm support for npm local installation
2017-09-10 12:58:42 +01:00
w0rp
c11d2ae375
Fix an SML variable init bug, and get the SML cm file tests to pass on Windows
2017-09-10 00:20:05 +01:00
w0rp
1a52a2b880
Get the TSLint handler tests to pass on Windows
2017-09-10 00:06:31 +01:00
w0rp
18f4d5a6da
Simplify some Rust handler code, and get the Rust handler tests passing on Windows
2017-09-10 00:06:31 +01:00
Clément DOUIN
f3da8f45c1
Add elm-format as a new fixer ( #916 )
...
* Add elm-format as a new fixer
2017-09-09 21:30:20 +01:00