Steven Humphrey
99263bdda4
Perlcritic column number and rule names ( #640 )
...
* Add column number to perlcritic linting output
This returns the column number of the perlcritic error so that ale can
show the column in addition to the line where perlcritic found an error.
* Add perlcritic configuration for rule names
This adds a configuration setting so that the name of the perlcritic
rule is shown [Rule::Name] after the error message.
This is useful to lookup the rule failure.
* Add a vader test for perlcritic#GetCommand
2017-06-11 21:13:47 +01:00
w0rp
5146332206
Add tsserver support
2017-06-09 09:47:19 +01:00
Mark Korondi
64ad51048d
Support for GNU Awk linting ( #638 )
...
* GNU Awk linter support
* Documentation for awk linter
2017-06-08 18:26:21 +01:00
w0rp
eeea72e167
Fix #625 Ignore Perl errors from other files
2017-06-06 20:40:07 +01:00
w0rp
7db805b0cd
#482 - Fix Flow handling with relative paths
2017-06-06 20:08:19 +01:00
w0rp
a0e0408ecc
Complain about incorrect uses of expand('%...')
2017-06-06 10:22:52 +01:00
w0rp
d41f15bcbc
#620 Check the Nim files on disk instead
2017-06-06 09:55:19 +01:00
w0rp
02ac28dbe6
Fix #624 - Ask for the Vint version in the background
2017-06-06 09:47:22 +01:00
Francis Agyapong
2c89a4c98a
Add ktlint support (without formatting) for kotlin filetype ( #610 )
...
* Add ktlint support (without formatting) for kotlin filetype
* Fix code style and refactor to use ALE utility functions (GetMatches)
* Remove options for configuration file
* Refactor: Rename exec variable and use ale#Set for variable configuration
2017-06-02 19:41:46 +01:00
w0rp
5e4c302b5b
Fix #557 - Detect C project roots and include root directories with headers, or include directories
2017-05-31 20:01:47 +01:00
w0rp
42efd51723
Fix #596 - Report exceptions thrown by flake8
2017-05-31 15:20:12 +01:00
Olaf Alders
fa02b1d259
Remove -X flag from perl defaults.
...
"-X Disables all warnings regardless of use warnings or $^W". See
"perldoc perlrun" or http://perldoc.perl.org/perlrun.html
With the current defaults, warnings are squashed. For example:
$ perl -X -Mwarnings -c -e'BEGIN { 42 + undef }'
-e syntax OK
$ perl -Mwarnings -c -e'BEGIN { 42 + undef }'
Use of uninitialized value in addition (+) at -e line 1.
-e syntax OK
So, it's not clear from the current defaults whether Ale wants to remove
warnings or enable them. As it stands, it's trying to do both and the
disabling appears to win.
This commit enables warnings by default.
2017-05-30 16:07:21 -04:00
Adrian Zalewski
7ed343965c
Ember-template-lint handler: properly handle template parsing errors.
2017-05-28 21:19:47 +02:00
w0rp
505b591b22
Merge pull request #585 from gavocanov/master
...
kotlin linter support for maven/pom.xml
2017-05-28 10:37:36 +01:00
w0rp
dc775f236c
Revert "Fix #501 - Do not run javac when it is just a stub asking you to install Java on Mac OSX"
...
This reverts commit 528355e2c6
.
2017-05-28 00:52:04 +01:00
w0rp
c4f22186bd
Refactor running of local Node programs with a helper function
2017-05-27 17:11:03 +01:00
Paolo Gavocanov
f71c60ede3
kotlin linter support for maven/pom.xml
2017-05-27 16:23:16 +02:00
w0rp
7fe1119cf1
#576 Run the eslint.js file created by React with node on Windows
2017-05-26 10:02:48 +01:00
Nozomu Okuda
43098171ac
Translate pylint output column to 1-based index
...
This should fix #575 ; also added vader tests to ensure that translation
is working properly.
2017-05-24 21:40:06 -06:00
w0rp
2e442a2cab
Fix initialization of the use_global variable for eslint
2017-05-22 09:38:33 +01:00
w0rp
7d8390d43e
Add experimental code for fixing errors
2017-05-20 19:02:36 +01:00
w0rp
04e0dda17a
Merge pull request #568 from Qusic/master
...
Add clang for objc and objcpp
2017-05-20 13:39:09 +01:00
Sander van Harmelen
455793dfd9
Improve performance when using gometalinter ( #566 )
...
* Improve performance when using gometalinter
Before this change when I opened a big project that had 6000+ warnings/errors it took ages to get the actual warnings/errors and it caused my CPU to be busy for quite some time. The call to gometalinter alone took about 24 seconds, but after that vim was struggling as well.
After this change the gometalinter call just takes 2 seconds and nothing noticable happens with the CPU and/or vim.
* Removed obsolete test
This logic is no longer done by the `ale` plugin, but by `gometalinter` itself.
2017-05-20 11:43:28 +01:00
Qusic
af6470c8d0
add clang for objc and objcpp
2017-05-20 00:58:09 +08:00
w0rp
bb1f045d59
Merge pull request #564 from adriaanzon/php-end-columns
...
Add end columns on php linter
2017-05-18 09:38:15 +01:00
q12321q
cdf0fb39e5
Add xmllint linter ( #559 )
...
* Add xmllint linter for xml
2017-05-18 09:31:12 +01:00
w0rp
c41afa2b0d
Clean up the rubocop file a little
2017-05-18 09:22:34 +01:00
w0rp
2fd4db91ce
Merge pull request #561 from meunierd/override-rubocop-executable
...
Allow overriding rubocop executable.
2017-05-18 09:19:23 +01:00
Adriaan Zonnenberg
05970e1b28
Add end columns on php linter #538
2017-05-17 21:28:29 +02:00
Devon Meunier
3f926de76b
Escape executable
2017-05-17 08:46:47 -04:00
w0rp
372a4dfd7e
Merge pull request #546 from dawikur/master
...
Add cpplint linter
2017-05-17 09:12:36 +01:00
w0rp
3443994a52
#538 Set some end columns for some eslint problems
2017-05-16 22:57:15 +01:00
Devon Meunier
9ca51ed035
Allow overriding rubocop executable.
2017-05-16 14:07:52 -04:00
Dawid Kurek
9185a0d2e5
Add cpplint linter
2017-05-16 19:09:59 +02:00
w0rp
42155049a5
Merge pull request #551 from meunierd/add-checkstyle-linter
...
Add checkstyle linter
2017-05-15 20:58:06 +01:00
w0rp
11a50b2580
Fix #553 - Filter out errors from other files for gometalinter
2017-05-15 20:43:55 +01:00
Devon Meunier
9baae52d1a
Add checkstyle linter
2017-05-15 15:41:04 -04:00
wisut hantanong
3f33dc7d98
Haskell: add ghc-mod linter
2017-05-15 19:46:02 +01:00
w0rp
07b2542c0d
#549 Temporarily revert shell escaping changes, just for Windows
2017-05-12 09:20:16 +01:00
Adriaan Zonnenberg
4e5a848d95
Merge pull request #533 from pbogut/add_php7_compatibility
...
Add PHP 7 compatibility
2017-05-09 18:34:38 +02:00
w0rp
6ea00af689
#540 Fix shell escaping pretty much everywhere
2017-05-08 22:59:25 +01:00
Pawel Bogut
d7bdaeeab0
Read errors from stdout only (and make sure they are displayed)
2017-05-08 21:17:54 +01:00
w0rp
1a157b1cd5
Support python -m flake8
for users who are running flake8 that way
2017-05-07 16:31:33 +01:00
w0rp
05bd4f591c
Escape JavaScript executables in commands
2017-05-07 16:19:40 +01:00
w0rp
4228c503f4
#335 Detect flake8 in vritualenv, and escape the executable path
2017-05-07 16:16:17 +01:00
w0rp
02f6fba6cb
Remove a comment we don't need any more
2017-05-07 15:29:16 +01:00
w0rp
a9c5e14fc9
Fix #363 - Detect virtualenv executables and fix import paths for mypy. Use lint_file for mypy
2017-05-06 23:19:54 +01:00
w0rp
702b203c51
Make the nimcheck tests more reliable
2017-05-06 23:06:51 +01:00
w0rp
07bcbd4c06
Escape the pylint executable appropriately
2017-05-06 21:20:02 +01:00
w0rp
f2c9fc403a
Fix #208 - Use the file on disk for pylint, and follow import paths
2017-05-06 19:30:41 +01:00
w0rp
2e1c9b0fa5
#208 Automatically detect pylint in virtualenv directories
2017-05-06 19:11:43 +01:00
w0rp
0ac82f0a17
#532 Rename a Vint variable so it's more obvious
2017-05-06 10:14:03 +01:00
Alexandr
bf0b2cfd84
go build: skip not current buffer ( #531 )
...
* go build: skip not current buffer
* fix gobuild_handler.vader
2017-05-06 10:08:34 +01:00
Eddie Lebow
ba7999dae0
[RFC] Add Brakeman for Ruby on Rails (references #385 ) ( #509 )
...
* Add brakeman for Ruby on Rails
2017-05-05 10:05:53 +01:00
w0rp
14f3fc777f
#427 Implement b:ale_warn_about_trailing_whitespace
2017-05-04 23:50:11 +01:00
w0rp
c2a0847f99
#502 Parse more undefined symbol errors
2017-05-04 23:34:52 +01:00
w0rp
8e70dc14f2
Fix #502 - Report undefined symbol errors better for javac
2017-05-04 23:19:58 +01:00
w0rp
528355e2c6
Fix #501 - Do not run javac when it is just a stub asking you to install Java on Mac OSX
2017-05-04 17:14:48 +01:00
w0rp
858c1c47ae
Merge pull request #524 from adriaanzon/fix-defaulting-to-fish
...
shell: Don't default to fish
2017-05-03 00:27:55 +01:00
w0rp
3573975934
Fix #410 - Use compile_commands.json files for clang-tidy, and check files on disk instead
2017-05-02 22:44:08 +01:00
w0rp
eb8bd26776
#392 - Detect and use compile_commands.json for cppcheck
2017-05-02 21:18:17 +01:00
Francis Agyapong
36314aeaf2
Add kotlinc checker for kotlin ( #526 )
...
* Add kotlinc checker for kotlin
2017-05-02 18:27:04 +01:00
Adriaan Zonnenberg
dce99faf8f
shell: Don't default to fish
2017-05-01 21:24:16 +02:00
Robert J
d5c135cfaf
Glue for Vale ( #522 )
...
Add Vale linter definitions
2017-05-01 16:06:04 +01:00
Adriaan Zonnenberg
b0bba34ea2
Rename g:ale_linters_sh_* to g:ale_sh_*
2017-04-30 22:38:28 +02:00
w0rp
2c7d14809d
Set GCC flags appropriately for older versions
2017-04-29 20:00:42 +01:00
w0rp
dfb10f1db2
Merge pull request #519 from AlexMasterov/feature/lua-luacheck-options
...
Add luacheck option to pass in more options
2017-04-29 18:06:55 +01:00
w0rp
0b4acd6453
Fix #518 Fix handling of spaces in filenames for various linters
2017-04-29 17:33:18 +01:00
Alex Masterov
9cea780121
Add luacheck option to pass in more options
2017-04-29 08:58:35 +03:00
w0rp
e417dafa78
Merge pull request #514 from adriaanzon/buffer-local-options-doc
...
Add tags for buffer-local variants of each linter option
2017-04-28 17:06:38 +01:00
Adriaan Zonnenberg
7230cbe9e4
Use ale#Var in linters that didn't use it yet
2017-04-28 00:01:01 +02:00
Jacob Bass
4db5f3923d
Create reasonml merlin linter
...
copy @andreypopp 's ocaml merlin linter from this project into reason
2017-04-26 19:29:09 +10:00
w0rp
45c2d6b580
Fixes #361 , fixes #417 Get classpaths from Maven, and automatically detect src/main/java paths
2017-04-25 22:32:48 +01:00
Matthias Günther
c55064881d
Add erb linter ( #497 )
...
* Add eruby linter
* Update README with erb linter
* Fix example and contributions
* Remove trailing newline
* Fix for Vimscript style guide
* Eruby-linter: codereview with @w0rp
- read from stderro output_stream
* Eruby-linter: codereview => add handler for ruby
* Eruby-linter: codereview
- eruby and ruby lint use the same ruby-handler (removes
duplicated handling logic)
* Eruby-linter: try to fix tests
2017-04-25 18:38:02 +01:00
w0rp
a03121f5b0
Break shared handlers up into their own files, and fix stylelint error handling
2017-04-24 22:27:18 +01:00
w0rp
99afe586b3
Simplify some code and format some tests better
2017-04-24 21:11:33 +01:00
w0rp
7fd7630153
Fix #398 - Report problems with the eslint configuration file
2017-04-20 13:07:32 +01:00
Eddie Lebow
0384cabd77
Add the Reek checker for Ruby. ( #490 )
...
Add the Reek checker for Ruby.
2017-04-20 07:37:08 +01:00
Jason Tibbitts
4eeb4783d3
Add rpm spec file linter (rpmlint) ( #486 )
...
* Initial attempt at an rpmlint linter.
* Add some basic documentation.
* Play with indentation in the test file.
* Another attempt to fix the rpmlint test.
* Hopefully this does it.
2017-04-19 23:40:58 +01:00
Shane Smith
72449d7cb1
Add missing "use global" var for tslint ( #484 )
...
* Add missing "use global" var for tslint
* Add typescript tslint documentation
2017-04-18 09:28:54 +01:00
w0rp
bdad25eefd
Add a function for getting matches, and use it to simplify a lot of code
2017-04-18 00:35:53 +01:00
w0rp
e237add9fd
Move path functions to their own file
2017-04-17 23:29:02 +01:00
Jon Smithers
dbf4f03607
Enable jshint to extract javascript from html
2017-04-17 00:11:39 -04:00
Adriaan Zonnenberg
ffda9077aa
Fix htmlhint variable names
2017-04-16 21:44:15 +02:00
Rafał Cieślak
2643f9f119
Flow: Fix case where 1st msg points to different file ( #477 )
...
* Flow: Fix case where 1st msg points to different file
* Remove `bufnr` from Flow handler output
* Fix the failing test & add a new one
2017-04-16 11:45:42 +01:00
w0rp
e97dada261
#427 Implement buffer variable overrides for all linter options
2017-04-16 01:24:08 +01:00
w0rp
7682fab294
Fix #168 - Make the Fortran linter more configurable
2017-04-15 22:06:56 +01:00
w0rp
35c831dd2c
Merge pull request #471 from breed808/gometalinter
...
Add gometalinter linter for go files
2017-04-15 21:09:23 +01:00
w0rp
f0d76bc298
Use g:ale_linters for turning gometalinter on, and update documentation as appropriate
2017-04-15 21:04:43 +01:00
Jordan Andree
11a4af2727
turn on lint_file for crystal build to resolve require
path errors
2017-04-15 10:37:32 -04:00
w0rp
706dd050f2
Fix #257 in preparation for #427 , standardise options with fallbacks, and make it so every value can be computed dynamically
2017-04-15 13:36:16 +01:00
w0rp
cab68cba25
Make code more consistent
2017-04-15 12:52:08 +01:00
w0rp
d5ccb1a7a1
Merge pull request #474 from jordanandree/add-crystal-lint
...
Add linter for Crystal lang
2017-04-15 11:34:20 +01:00
Adriaan Zonnenberg
8351bdbc06
Add SQL linter sqlint, closes #395 ( #472 )
2017-04-15 11:24:05 +01:00
jordanandree
abdfaaf84f
add crystal lint
...
- invokes via `crystal build` command without codegen
- adds vader tests
2017-04-13 21:33:36 -04:00
Ben Reedy
1167616726
Add gometalinter for go files
...
Linter is disabled by default (see g:ale_go_gometalinter_enabled) as it
conflicts with a number of established ALE linters (golint, govet,
gosimple, staticcheck, etc).
2017-04-13 19:38:32 +10:00
Ben Reedy
a2bb45e974
Fix gobuild linter
...
Resolves issues with gobuild linter with multiple go source files
belonging to the same go package.
2017-04-13 18:58:55 +10:00
w0rp
8afd914c6d
Merge pull request #467 from adriaanzon/php-fix-double-errors
...
PHP: Fix double errors and support fatal errors
2017-04-12 23:58:01 +01:00
w0rp
c2fdb399a7
Set a default for the puppetlint options so the linter will behave like it always has done, by default
2017-04-12 23:25:31 +01:00
rcn
7e0e7359c0
Add puppet-lint config options and documentation ( #462 )
2017-04-12 23:23:25 +01:00
Adriaan Zonnenberg
7dbf32d0d7
PHP: Fix double errors and support fatal errors
2017-04-12 23:59:12 +02:00
Ben R
0ce46fe7c8
Make go build
linter check files on disk ( #465 )
...
* #418 Make `go build` linter check files on disk
* Omit errors from imported go packages
2017-04-12 10:53:33 +01:00
w0rp
b06b832447
#392 Report errors inside of headers, in a very basic way
2017-04-11 20:32:57 +01:00
w0rp
8b890caa31
Merge pull request #458 from Szero/master
...
Added shellcheck executable and options variable
2017-04-11 09:26:58 +01:00
David Alexander
593dbe7556
Typo correcting 3.0.7 -> 0.3.7 for vint --no-color
2017-04-10 16:44:14 -04:00
Szero
8e33abaeab
added shellcheck executable and options variable
...
updated docs
2017-04-09 19:54:25 +02:00
Mathijs Saey
588d338342
Added a missing space to the nimcheck command
2017-04-08 20:32:47 +02:00
Brandon Roehl
4e40e8cb60
Add Ruby MRI linter ( #453 )
...
* Added ruby mri linter
* Added to the list of supported linters
* Async and now with 4 spaces
* Vader tests for ruby
* Match style choices
* Vader test for the Ruby handler now works and passes
2017-04-08 11:24:20 +01:00
Shalom Yiblet
cc8eb05860
improved the sml linter ( #445 )
...
* improved the sml linter
* made matching operator agnostic to user settings
* added tests for sml
2017-04-08 11:23:11 +01:00
Mathijs Saey
434283ed1a
Update nimcheck.vim ( #451 )
...
Added a '--threads:on' switch to the nim check command so that it doesn't produce errors when using one of the various modules that require threads.
2017-04-07 15:42:46 +01:00
Adrian
d28d7f732a
Add support for linting Handlebars templates with ember-template-lint ( #452 )
...
* Ember-template-lint Handlebars template linter: initial handler, test.
* Handlebars support with ember-template-lint: basic documentation entries.
2017-04-07 15:38:50 +01:00
José Júnior
4caf273d53
Adds options to foodcritic linter ( #437 )
...
* Adds options to foodcritic linter
Adds a way to pass command line options to the foodcritic command and
documentation about it.
* Creates a simple test for foodcritic command callback
This test simply runs the GetCommand function for the foodcritic linter
and feeds it with some test variables to assert the command line is
being created/escaped correctly.
* Makes foodcritic linter use a command callback
Following review comments, changes the foodcritic linter to use a
`GetCommand` callback for the `command_callback` linter option.
Makes sure that `~` are escaped: flags on foodcritic command line are
negated by adding a `~` in front of the specific cop name:
```
foodcritic -t ~FC011
```
But the way the commands are executed cause foodcritic to fail (since
tilde is recognized as home directory).
* Fixes the doc to include new variables
2017-04-05 18:21:47 +01:00
w0rp
f3fa8db4cf
#447 Pass a temporary file to the shell linter instead
2017-04-03 23:11:25 +01:00
w0rp
4fc8452838
#447 Support zsh in the shell linter
2017-04-03 22:51:39 +01:00
w0rp
7c736579b7
Fix #438 Create Java .class files for javac in a temporary directory
2017-03-31 20:14:53 +01:00
Adriaan Zonnenberg
4b0f3257dd
Remove 'col' from linters where it is hardcoded to 1 ( #434 )
...
* Remove 'col' from linters where it is hardcoded to 1
When 'col' is 1, the first column will get highlighted for no reason. It
should be 0 (which is the default).
In the scalac linter there was also a check about the outcome of
`stridx`. It would set l:col to 0 if it was -1, and then it uses
`'col': l:col + 1` to convert the outcome of `stridx` to the actual
column number. This will make 'col' equals 1 when there is no match. We
can remove the check because `-1 + 1 = 0`.
* Remove outdated comments about vcol
vcol was added as a default, and the loclists that follow these comments
do not contain 'vcol' anymore
2017-03-30 23:33:38 +01:00
Ben Reedy
43f24f4c01
Add support for gosimple and staticcheck
2017-03-30 11:49:52 +10:00
w0rp
2a88b60ff1
Fix #260 automatically set .csslintrc files from ancestor directories
2017-03-29 00:56:39 +01:00
w0rp
8e71f233da
Use the lint_file option so the Cargo linter will only be run against files on disk
2017-03-29 00:34:03 +01:00
w0rp
3f5cb55e73
Make the tslint file match the style in the rest of the codebase
2017-03-29 00:28:01 +01:00
w0rp
a4220b99a6
Fix #421 Automatically detect create-react-app paths
2017-03-29 00:21:27 +01:00
Gabriel Holodak
b9c078da20
Adjust rubocop error levels
...
Consider rubocop fatal errors as ALE errors, and rubocop style warnings
as ALE warnings.
2017-03-27 19:46:02 +01:00
w0rp
5de084557b
Merge branch 'add-dogma'
2017-03-27 12:57:00 +01:00
w0rp
82fde0ea51
Use the same formatting as other files for the dogma linter file, and cover the Handler function with tests
2017-03-27 12:56:54 +01:00
Idan Arye
2f40953e03
Make cargo linter lighter: ( #408 )
...
- Use `cargo check` instead of `cargo build` when
`g:ale_rust_cargo_use_check` is truish.
- Use `--frozen` to avoid locking the project.
2017-03-27 12:37:00 +01:00
Lucas Kolstad
d84d91ff35
Add support for ASM files using GCC
2017-03-25 16:36:17 -07:00
Blaž Hrastnik
ba97017380
Add the dogma checker.
2017-03-23 01:13:33 +09:00
baabelfish
9f3cdf8270
Fix problems with nim check ( #404 )
...
* Fix problems with nim check
- Multi file errors are not shown in the same buffer
- Fixes parsing of error type that contain ':'
* Remove redundant fnameescape
2017-03-22 09:11:32 +00:00
Ruben Paz
5122dc498d
tslint parameterized executable and config path ( #400 )
...
* Allow modifying the location of the tsling executable
* Allow definition of config file path
* fnameescape configuration file
2017-03-21 12:30:32 +00:00
baabelfish
297bc8553c
Add support for nim check
2017-03-18 19:45:37 +02:00
Markus Doits
fae26369d4
add slim-lint ( #388 )
...
* add slim-lint
* add slim readme entry
* add slim entry to doc
* add slimlint vader test
2017-03-13 23:21:59 +00:00
w0rp
3f3d8b0014
Merge pull request #393 from naoina/fix-coffeelint-pattern
...
Fix pattern of output for coffeelint
2017-03-13 23:18:06 +00:00
Naoya Inada
e969d97843
Fix pattern of output for coffeelint
2017-03-13 20:09:49 +09:00
w0rp
a4ae5ca997
Merge pull request #389 from jparise/erlc-output-tmpdir
...
Write erlc output files to the temporary directory
2017-03-12 16:50:17 +00:00
Jon Parise
f3eab445ee
Use tempname() to create the temporary output file
...
Also, "manage" this filename so ALE can clean it up.
2017-03-11 19:33:32 -08:00
w0rp
ca78e4c150
Support older versions of Vint
2017-03-11 19:45:33 +00:00
w0rp
d58a18b8ed
#277 #318 Support all same-directory includes for gcc and clang
2017-03-11 16:48:49 +00:00
Paul Johnson
c2ceb9e085
FIX #344 - Add options to Perl linter
...
Conflicts:
doc/ale.txt
2017-03-11 14:53:30 +00:00
Jon Parise
7d6b313065
Write erlc output files to the temporary directory
...
In particular, if we're working with a leex (.xrl) or yecc (.yrl) source
file, erlc would otherwise generate the corresponding .erl file in the
current directory (often the project root), which is generally not what
we want.
Unconditionally writing erlc output to a temporary directory also
matches Flycheck's behavior.
2017-03-10 08:24:21 -08:00
w0rp
3cababc83b
Fix #386 report problems with eslint configuration files
2017-03-09 21:05:00 +00:00
Alistair Bill
be57b545b7
Add support for nix linting
2017-03-05 20:36:29 +00:00
w0rp
c1947d13cf
#384 Try and stop stupid errors coming from the gobuild functions
2017-03-04 23:34:57 +00:00
Patrick Lewis
9e9e15bc87
Add hamllint linter for Haml ( #377 )
...
* Add hamllint linter for Haml
* Simplify hamllint
2017-03-03 20:27:07 +00:00
Jasper Woudenberg
70711022db
Add support for error details
...
Some review needed.
2017-03-01 23:27:48 -08:00
Daniel M. Capella
18508f7453
proselint: Add more supported filetypes ( #367 )
...
* proselint: Add more suported filetypes
* proselint: Minor consistency fixes
* Vim help: Disable linters by default
2017-03-02 00:06:09 +00:00
Adriaan Zonnenberg
6befe9e37c
Fix PHP column matching for unexpected single quotes ( #370 )
...
* PHP: Fix column matching for unexpected single quotes
Unexpected single quotes resulted in an empty match, because PHP
surrounds the errors with quotes, and we check for the next quote to be
the ending delimiter.
For example: an unexpected string 'foo' would be presented as
`unexpected ''foo''`, and then the match would be `''`. The inner part
of that match is an empty string.
This adds a check for the keyword "expecting". Any quote after
"expecting" won't be matched, so we can use greedy matching instead of
non-greedy.
* PHP: Use "very magic"
The pattern started to get unreadable
Also replaced non-greedy matching (`\{-}`) by greedy matching, because
we don't need to match non-greedily anymore and it reads a little nicer.
* PHP: Add tests for column matches
And with that, also a test for unexpected single quotes.
2017-03-01 23:26:03 +00:00
equal-l2
4fa52fd98a
Use latest C++ standard
2017-03-01 02:42:35 +09:00
w0rp
7a92c3a046
Merge pull request #366 from kbenzie/cmakelint
...
Add cmakelint support for cmake filetype
2017-02-27 22:21:42 +00:00
w0rp
b2fe1b2567
Copy all loclist items returned from handlers, and set up defaults for convenience
2017-02-26 14:51:22 +00:00
John Sivak
9c93e79a66
Add display of the pylint symbol name for the msg_id.
2017-02-25 13:23:36 -05:00