This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/ale_linters/javascript
Adriaan Zonnenberg 1f7679e619 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

Conflicts:
	ale_linters/elixir/dogma.vim
2017-03-31 19:01:10 +01:00
..
eslint.vim Remove 'col' from linters where it is hardcoded to 1 (#434) 2017-03-31 19:01:10 +01:00
flow.vim Copy all loclist items returned from handlers, and set up defaults for convenience 2017-02-26 14:51:22 +00:00
jscs.vim Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
jshint.vim Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
standard.vim Remove 'col' from linters where it is hardcoded to 1 (#434) 2017-03-31 19:01:10 +01:00
xo.vim add xo support (#304) 2017-02-09 18:54:49 +00:00