summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
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-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
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-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-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-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-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.
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-28Merge pull request #2096 from mgedmin/flake8-uses-vcolsw0rp
flake8 reports visual columns
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-22flake8 reports visual columnsMarius Gedminas
Fixes #2092.
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-19Merge pull request #2087 from m-pilia/adaw0rp
Add GCC linter for Ada
2018-11-18Add GCC linter for AdaMartino Pilia
2018-11-16Continue scalac compilation until just before bytecode generationZack Hsi
Previous behavior does not compile deep enough to surface errors. See compiler phases: https://docs.scala-lang.org/overviews/compiler-options/index.html#compilation-phases
2018-11-14Add Vale linter for AsciiDocJeff Kreeftmeijer
Vale supports AsciiDoc. This patch adds a Vale linter for AsciiDoc files, which is based on the existing Markdown linter.
2018-11-12Lint ispc on disk to solve include imprecisionsMartino Pilia
2018-11-11Add linter for ispcMartino Pilia
2018-11-11Merge pull request #2063 from languitar/better-checkstylew0rp
Checkstyle improvements
2018-11-11Fix #2054 - Make golint configurablew0rp
2018-11-07Let checkstyle only lint original filesJohannes Wienke
Temporary files break checks like the one for a missing package-info.java, as discussed in #1305.
2018-11-07Support older checkstyle versionsJohannes Wienke
The output format used by older checkstyle versions differs from the one of new versions. This commit adds a second parsing iteration on the output lines with a suitable pattern to support both versions in parallel. Due to the differences in the order of matching groups this is hard to achieve in a single pass through the output lines. An appropriate test case is added.
2018-11-04elixir-ls now recognizes umbrella projectsJon Parise
Previously, elixir-ls would treat each sub-project within an umbrella as standalone, which isn't desirable from a language server perspective. Added ale#handlers#elixir#FindMixUmbrellaRoot, which locates the current project's root and then continues searching upwards for a potential umbrella project root. This literally looks just two levels up to keep things simple while keeping in line with Elixir project conventions. Use this new function to determine elixir-ls's LSP project root.
2018-11-04Merge pull request #2051 from aclemons/ruumbaw0rp
Add initial support for ruumba in eruby files.
2018-11-04Allow configuration of hamllint executable (#2048)Justin Howard
* Allow configuration of hamllint executable The hamllint executable was hard-coded, preventing it from being overridden. Fix the executable to be dynamic to allow custom executable paths.
2018-11-04Merge pull request #2044 from Steap/bug/1388w0rp
PHP linter: make the path to the executable configurable
2018-11-04Add initial support for ruumba in eruby files.Andrew Clemons
Ruumba provides RuboCop linting for ERB templates. https://github.com/ericqweinstein/ruumba
2018-11-01PHP linter: make the path to the executable configurableCyril Roelandt
Fixes #1388
2018-10-31Add configuration dictionary support to elixir-lsJon Parise
This adds generic configuration dictionary support to the elixir-ls linter. This is useful for disabling its built-in Dialyzer support, for example, which can improve startup time. The configuration dictionary is a little verbose. I considered reducing the user configuration to only the nested settings dictionary (and having the linter implementation wrap it in the top-level `elixirLS` dictionary), but leaving it fully configurable simplifies the code and removes any assumptions about current or future ElixirLS behavior.
2018-10-31Merge pull request #2040 from leamingrad/jshint_filenamew0rp
Pass the filename of the current file into jshint
2018-10-31Pass the filename of the current file into jshintJames Owen
2018-10-30Do not enable all clang-tidy checks by defaultAndreas Hollmann
2018-10-26Add the dockerfile_lint linter for Dockerfiles (#1971)Alexander "Ananace" Olofsson
* Add the dockerfile_lint linter for Dockerfiles
2018-10-26Add prolog swipl linter (#1979)Takuya Fujiwara
* add prolog/swipl linter * use load_files/2 instead of read_term/2 Because it also checks some semantic warnings / errors not only syntactic warnings / errors. e.g.: * singleton warning * discontiguous warning * ... cf. http://www.swi-prolog.org/pldoc/doc_for?object=style_check/1 * support error messages with no line number :- module(module_name, [pred/0]). causes ERROR: Exported procedure module_name:pred/0 is not defined * add test for prolog/swipl handler * cosmetic fixes * detect timeout using SIGALRM * rename g:prolog_swipl_goals to g:prolog_swipl_load * write doc for prolog/swipl linter * update toc and README * fix ignore patterns
2018-10-25Respect configured excluded_pathsSteven Harman
2018-10-25Merge pull request #1958 from Garland-g/perl6w0rp
Add Perl6 support via 'perl6 -c'