summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2019-02-17python/pylint: Change directory to project rootKevin Locke
Pylint only [checks for pylintrc] (and .pylintrc) files in the packages aboves its current directory before falling back to user and global pylintrc. For projects with a src dir, running pylint from the directory containing the file will not use the project pylintrc. Adopt the convention used by many other Python linters of running from the project root, which solves this issue. Add pylintrc and .pylintrc to FindProjectRoot. Update docs. [checks for pylintrc]: https://github.com/PyCQA/pylint/blob/pylint-2.2.2/pylint/config.py#L106 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-12pylama: Use %s instead of %tKevin Locke
Although using %t to lint changes was desirable, many pylama checks use surrounding paths and file contents (e.g. C0103 module name, E0402 relative import beyond top, etc.) The more such errors I find during testing, the less %t seems like a good idea. Switch to %s. Also set `lint_file` to 1 and mark Pylama as a file linter in the docs. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-11add project_root_callback for tsserver (#2290)Derek Sifford
* add project_root_callback for tsserver * add tests for tsserver project root * Update test/command_callback/test_javascript_tsserver_command_callback.vader
2019-02-10Merge pull request #2268 from m-pilia/alexw0rp
Add settings for the Alex linter
2019-02-10Merge pull request #2287 from kevinoid/vulture-optionsw0rp
Document and test ale_python_vulture_options
2019-02-10Support ale_sh_shellcheck_dialect to set dialectKevin Locke
As discussed in w0rp/ale#1051, there are cases where it would be useful to be able to specify the dialect explicitly. This commit allows users to do so using the ale_sh_shellcheck_dialect variable. Fixes: w0rp/ale#1051 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Document and test ale_python_vulture_optionsKevin Locke
The vulture linter already supports ale_python_vulture_options, but it is not documented or tested. Since vulture only supports configuration via options, it is an important use case. Add docs and test. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-07Fixes javalsp linterJan Ouwens
2019-02-06Make Cypher linter dynamicFrancisco Lopes
2019-02-03linter/cypher: add cypher-lintFrancisco Lopes
2019-02-02Add settings for the Alex linterMartino Pilia
The executable for the Alex linter is currently hard-coded as 'alex', which is an issue given the fact that it conflicts with the Haskell lexer generator, whose executable is also called 'alex', has been around a dozen years before the linter, and is packaged in the official repositories of the major Linux distributions. This commit adds options to use a local executable for the alex linter (which is a node package), and an option to set a custom executable. As side changes: * The pattern in the alex handler is made more readable by turnig it into a very-magic regex. * Alex handles plain text, markdown, and HTML. Specific flags for HTML and markdown are provided when instantiating the linters for the respective filetypes, while before those formats were treated as plain text.
2019-01-27Add initial ameba (crystal linter) support (#2174)Harrison Bachrach
* Add initial ameba (crystal linter) support Note that this depends on saved file as `ameba` does not have STDIN support * Fix formatting of crystal linter documentation * Add tests for ameba executable customization
2019-01-27Merge pull request #2225 from ravicious/masterw0rp
Pass --compiler flag to elm-test when linting 0.19 tests
2019-01-27Add textlint for tex (#2234)TANIGUCHI Masaya
2019-01-27SugarSS support from PR 1967 (#2219)Niclas Åhdén
* sugarss support + bonus naming Sass correctly * cleanup + alphabetic ordering
2019-01-27Merge pull request #2235 from erydo/stack-ghc-optionsw0rp
Add g:haskell_stack_ghc_options like …_cabal_ghc_…
2019-01-27Add VHDL Support & Newer Verilog Linters (#2229)John Gentile
* Added VHDL file support with ghdl compiler * Update ghdl.vim * Create vcom.vim * Create xvhdl.vim * Update xvlog.vim * Added documentation for VHDL & Verilog linters * Added tests to VHDL & Verilog linters
2019-01-26Add bandit linter for PythonMartino Pilia
2019-01-22Add haskell_stack_ghc_options like …_cabal_ghc_…Robert Estelle
Adds new option `g:haskell_stack_ghc_options` which passes options to `stack ghc`. This is implemented similiarly to `g:haskell_cabal_ghc_options`.
2019-01-20Add support for pyls configuration optionsyut23
Resolves #1443. Heavily inspired by the analogous support added for elixir-ls.
2019-01-19Pass --compiler flag to elm-test when linting 0.19 testsRafał Cieślak
This makes elm make linter work when elm is not installed globally.
2019-01-14Racket linting using raco (#2146)Anthony Quizon
2019-01-12Support textlint for reStructuredText (#1978)hokorobi
* Support textlint for reStructuredText * Add linter test for textlint rst
2019-01-12Clean up bingo tests, so they pass on my machine toow0rp
2019-01-10Add textlint for Asciidoc and add it to Fixers (#2193)TANIGUCHI Masaya
* Add textlint for asciidoc * Add textlint --fix
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-04fallback to elm if elm-tests isn’t availableAryeh Leib Taurog
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)
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-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-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-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.
2018-12-05Fix javalsp command.Horacio Sanson
The command used to invoke the LSP process was being escaped wrong. Also added a new option to set a different java executable and fixed the documentation.
2018-12-03Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm"w0rp
This reverts commit 1c89495d771ec6518599bea83dd11a7c1d66ba73, reversing changes made to 4b4b09593b2b090282981d69a9647a3c91d1f8b9.
2018-12-01Add bibclen fixer supportHoracio Sanson
Closes #1910
2018-11-23php: change phpstan's --errorFormat to --error-format (#2005)lfree
* php: change phpstan's --errorFormat to --error-format * add version check to phpstan
2018-11-21Merge pull request #2068 from m-pilia/ispcw0rp
Add linter for ispc
2018-11-21Add --nowrap to ispc optionsMartino Pilia
2018-11-19Merge pull request #2083 from zackhsi/scalac-until-jvmw0rp
Continue scalac compilation until just before bytecode generation
2018-11-18Add GCC linter for AdaMartino Pilia
2018-11-17Fix testZack Hsi
2018-11-12Lint ispc on disk to solve include imprecisionsMartino Pilia
2018-11-11Add linter for ispcMartino Pilia
2018-11-11Fix #2054 - Make golint configurablew0rp
2018-11-06Remove test/command_callback/mix_paths/Jon Parise
All of the other tests were already using equivalent fixtures under test/command_callback/elixir_paths/, so let's use that path everywhere.