summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-06Improve perf for compile dbs in large projectsJacob Segal
When using a compilation database (compile_commands.json) in very large projects, significant delays would occur when changing files -- particularly those that happened to be far down the db. Rather than iterating over the whole list every time, we now build up a lookup table based on the tail of the filename (and tail of the directory for widening searches) and iterate over the much smaller list of compile commands for files with the given name. Test metrics (from compile_database_perf/test.sh) show a 90% performance improvement -- from 25 seconds to 2.5 seconds per run.
2019-01-05Add support for bingo (#2165)Jerko Steiner
* Add support for https://github.com/saibing/bingo * Add docs for ale-go-bingo * Use go.mod when found * Add test for bingo FindProjectRoot * Simplify ale_linters#go#bingo#GetCommand
2019-01-04Fix a test on Windowsw0rp
2019-01-04Merge pull request #2176 from altaurog/feat/elm-testsw0rp
support tests/ with elm 0.19.0
2019-01-04fallback to elm if elm-tests isn’t availableAryeh Leib Taurog
2019-01-04fix: don’t use regex matchAryeh Leib Taurog
windows paths have backslashes, which are special in regex patterns
2019-01-04support tests/ with elm 0.19.0Aryeh Leib Taurog
With earlier elm versions, a separate package file is maintained for tests, which when properly configured enabled the compiler to find what it needed to compile the tests. Under elm 0.19, test dependencies are managed in the top-level package file, so `elm make` will fail on the tests. `elm-test make` is required in this case. See https://github.com/elm-explorations/test/issues/64
2019-01-04test elm-make changes to rootdir when elm.json is foundAryeh Leib Taurog
most projects will have an elm.json file (>= 0.19) or elm-package.json (< 0.19)
2019-01-03Clean up the new g:ale_shell code. Use it for Windowsw0rp
2019-01-03Merge pull request #2167 from stegmanh/masterw0rp
Add support for ale option to override default shell used by ale
2019-01-03Merge pull request #2168 from fx-carton/masterw0rp
Fix CFLAGS & Makefile issues
2019-01-03Fix some formatting issuesw0rp
2019-01-03Merge pull request #1988 from mdtusz/pipenv-blackw0rp
Add support for black usage with pipenv
2019-01-02change ale to use value of g:ale_shell regardless of what it isHolden
2019-01-02Merge pull request #2173 from chaucerbao/feature/find-references-line-textw0rp
Add associated line text on ALEFindReferences results for TypeScript
2018-12-31Update FindReferences testsAlvin Chan
2018-12-31Replace `trim` with `substitute` for compatibility (Vim <8.0.1630)Alvin Chan
2018-12-31Add associated line text on ALEFindReferences results for TypeScriptAlvin Chan
2018-12-29Add a test for cflags merging bugFrançois-Xavier Carton
2018-12-29Fix CFLAGS parsingFrançois-Xavier Carton
Split by space instead of dash. This prevents incorrect parsing where space-separated arguments are merged (in particular, .c or .o files were appended to -I or -D arguments). Handle shell escape: quotes and escaped quotes \" and shell substitutions are recognised. This is done by verifying that no special character (" ' ` ()) has not a matching character. Fixes #2049
2018-12-28fix tests on windowsHolden
2018-12-28address PR feedback by fixing docs and hardcoding bash to use -c on fish and ↵Holden
pwsh environments
2018-12-28add tests for ale_shell optionHolden
2018-12-21Fixup tests for auto-pipenvMiklós Tusz
2018-12-21Remove unnecessary exe check for blackMiklós Tusz
2018-12-21Add test for python_black_auto_pipenvMiklós Tusz
2018-12-21Add documentation for python_black_auto_pipenvMiklós Tusz
2018-12-21Add auto_pipenv config for blackMiklós Tusz
Added ability to set `python_black_auto_pipenv` to allow for usage of a local pipenv black executable.
2018-12-20Merge pull request #2150 from mvgrimes/perl-linter-data-fixw0rp
Update the perl-linter's l:pattern to catch missing errors
2018-12-20Merge pull request #2141 from benjaminjkraft/masterw0rp
Add versions of ALEGoToDefinition that open in splits
2018-12-19Add versions of ALEGoToDefinition that open in splitsBen Kraft
This is just like `:ALEGoToDefinitionInTab`, only a (v)split instead of a tab. Fixes #2140.
2018-12-19Adds tests for perl-linter where a second file/line is included in errorMark Grimes
2018-12-18#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)w0rp
2018-12-18Merge pull request #2153 from deltaskelta/gqlint-fixw0rp
changed gqlint to lint the file on disk
2018-12-18changed gqlint to lint the file on diskJeff Willette
- added a cd into the direcotry containing the file in the buffer in order to properly check for a config file - added command_callback tests for graphql
2018-12-18Close #2152 - Use ale_javascript_standard_options for fixing files toow0rp
2018-12-16Use non-greedy matching instead of looking for the commaMark Grimes
2018-12-16Merge pull request #2136 from ↵w0rp
hsanson/368-chktex-latex-report-errors-from-wrong-file Fix 368 - Lacheck reports errors from input{} files.
2018-12-14Update the perl-linter's l:pattern to catch missing errorsMark Grimes
In some situations, errors reported by `perl -c` can have multiple listings of "at <file> line <number>". If the l:pattern is changed to use non-greedy matching it will also match these. For example: ``` use strict; use DateTime; $asdf=1; ``` Results in: ``` Global symbol "$asdf" requires explicit package name (did you forget to declare "my $asdf"?) at /Users/mgrimes/t.pl line 3, <DATA> line 1. /Users/mgrimes/t.pl had compilation errors. ``` I am not 100% sure why `perl -c` generates errors with the extra "file line <num>". It only happens in some versions of perl when certain modules are used.
2018-12-11Add tests to lacheck linterHoracio Sanson
2018-12-10Adds standardrb linter (#2133)Justin Searls
See: https://github.com/testdouble/standard StandardRB is to RuboCop what StandardJS is to ESLint. This commit naively copies the RuboCop linter and fixer to point at the standardrb executable. Any other adjustments are very minor (the only I can think of is that standardrb takes a `--fix` option instead of `--auto-correct`). This raises a confusing point to me as both developer and a user: since ale enables all linters by default, won't this run both RuboCop and StandardRB (the results of which will almost always be in conflict with one another)? How does ale already solve for this for the similar case of StandardJS and ESLint?
2018-12-10Explain the .* .gitignore rulew0rp
2018-12-10#1520 - Add an :ALEDocumentation for tsserverw0rp
2018-12-10Fix 368 - Lacheck reports errors from input{} files.Horacio Sanson
This PR adds additional check to lacheck linter to exclude any warnings related to sourced files via latex \input{} command. Closes: #368
2018-12-07Merge branch 'master' of github.com:stegmanh/aleHolden
2018-12-07Add initial support for settings to overwrite ale shellHolden
2018-12-07Add support for Pod based SwiftLint (#2122)Gordon Fontenot
It's common to add SwiftLint as a CocoaPod dependency, instead of as a global binary. In this case we should use that version of SwiftLint before looking for any others. Note that I'm also adding support for SwiftLint in ReactNative projects here as well, where the Pods directory would be nested inside an ios directory.
2018-12-06Merge pull request #2061 from hsanson/1910-add-support-for-bibclean-fixerw0rp
Add bibclean fixer support
2018-12-06Add support for pydocstyle linter (#2085)pmacosta
The linter can correctly parse pydocstyle output with any of the following command-line options enabled: --explain, --source, --debug, and/or --verbose
2018-12-06refactor sasslint linter (#2077)Oskar Grunning
Previous implementation required one to have sass-lint globally. This allows you to have it locally, override the executable and add options.