Ian Campbell
ea91209a66
Allow the use of StandardX for StandardJS linting and fixing.
...
See https://github.com/standard/standardx
2019-10-21 20:46:54 -04:00
Ian Campbell
9017d3ef9c
Add StandardJS for TypeScript linting and fixing.
2019-10-21 18:20:43 -04:00
Nils Kuhnhenn
7d4a83ecd4
Use correct handler for 'xo' linter
2019-06-04 13:14:08 +02:00
Nils Kuhnhenn
79d1b99067
Use JSON output for eslint and fix tsserver column
2019-06-02 14:39:03 +02:00
Alvin Chan
7f0954b89e
Add XO as a linter/fixer for TypeScript files ( #2453 )
2019-05-02 11:59:18 +01:00
w0rp
883978ece9
#2132 - Replace all uses of foo_callback with foo
2019-02-22 18:05:04 +00:00
Derek Sifford
aca1edb476
add project_root_callback for tsserver ( #2290 )
...
* add project_root_callback for tsserver
* add tests for tsserver project root
* Update test/command_callback/test_javascript_tsserver_command_callback.vader
2019-02-11 21:24:22 +00:00
w0rp
209cd54783
Fix #1781 - Fix me breaking the tsserver linter
2018-08-03 17:22:09 +01:00
w0rp
217284360d
Simplify the code for most linters and tests with closures
2018-08-02 23:44:12 +01:00
w0rp
a42999a639
Massively reduce the amount of code needed for linter tests
2018-07-15 18:28:28 +01:00
w0rp
6ab3fdc4d0
Close #1521 - Allow the language to be set with simple strings for LSP linters
2018-04-27 22:52:11 +01:00
w0rp
719b790574
Close #542 - Add an option for disabling running locally installed executables by default
2018-04-09 19:11:20 +01:00
w0rp
bdd8d2399f
#416 Escape the tslint command
2018-03-18 16:48:28 +00:00
w0rp
cebe7c3918
Fix #1210 - Do not report this file as a temporary file in the quickfix list for TSLint
2017-12-10 09:58:33 +00:00
w0rp
037aaae593
#852 - Capture error codes for TSLint
2017-11-13 23:36:15 +00:00
w0rp
8ef8a35462
Fix #1101 - Ignore no-implicit-dependencies errors until TSLint supports checking via stdin properly
2017-11-09 10:32:41 +00:00
w0rp
c277cdef8c
Add an option for ignoring the output of TSLint if a file contains a single blank line
2017-09-06 11:17:21 +01:00
w0rp
40dca63891
Merge remote-tracking branch 'jclem/master' into tslint-rules
2017-08-30 21:21:03 +01:00
w0rp
7112776d1b
#653 Update tslint to set the filename key for problems in other files
2017-08-20 00:05:15 +01:00
w0rp
342e83db60
Include the ruleName for errors in tslint problems
2017-08-16 10:37:36 +01:00
w0rp
a535d07f28
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
2017-08-08 08:39:13 +01:00
w0rp
fa33faad9e
#810 - Handle output which is not JSON in many linters
2017-07-27 00:45:25 +01:00
w0rp
cd860e3e8d
#517 Add more code LSP support which makes the tssserver linter behave more like the LSP linters
2017-07-26 10:37:37 +01:00
Jonathan Clem
6d732b9fb4
Remove trailing whitespace in tslint.vim
2017-07-21 16:09:45 -04:00
Jonathan Clem
710c3ee3d2
Use the tslint_rules_option variable
2017-07-21 15:59:16 -04:00
Jonathan Clem
8ea9044667
Add myself to authors for tslint.vim
2017-07-21 15:54:28 -04:00
Jonathan Clem
cddb26558f
Add tslint support for rules directory option
2017-07-21 15:52:51 -04:00
w0rp
0b50ebb0f0
Fix #779 - Handle empty output for tslint
2017-07-19 10:26:03 +01:00
w0rp
51f256e897
Remove the need for pointless callbacks for LSP linters
2017-07-02 13:25:36 +01:00
w0rp
857ca941d2
Support an 'stdio' type for linter defintions, and require a command for LSP connections via programs
2017-07-02 13:17:24 +01:00
w0rp
229a1c092a
#684 Handle tslint errors without the severity included, and use character instead of position for the columns
2017-06-25 16:40:44 +01:00
w0rp
4eaa990fe8
Fix #684 - Use the JSON format for tslint, for consistency betwen versions, and handling of end line and column numbers
2017-06-25 13:56:51 +01:00
w0rp
a105aa90a5
Fix #668 - Support eslint for TypeScript
2017-06-20 10:50:38 +01:00
Pavel Kuropatkin
11e17669d3
TSLint: distinguish warnings from errors ( #663 )
...
* TSLint: distinguish warnings from errors
* Test for TSlint warning/error distinguishing code added.
2017-06-18 18:46:34 +01:00
w0rp
5146332206
Add tsserver support
2017-06-09 09:47:19 +01:00
w0rp
c4f22186bd
Refactor running of local Node programs with a helper function
2017-05-27 17:11:03 +01:00
w0rp
07b2542c0d
#549 Temporarily revert shell escaping changes, just for Windows
2017-05-12 09:20:16 +01:00
w0rp
6ea00af689
#540 Fix shell escaping pretty much everywhere
2017-05-08 22:59:25 +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
w0rp
e97dada261
#427 Implement buffer variable overrides for all linter options
2017-04-16 01:24:08 +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
w0rp
3f5cb55e73
Make the tslint file match the style in the rest of the codebase
2017-03-29 00:28:01 +01: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
w0rp
b2fe1b2567
Copy all loclist items returned from handlers, and set up defaults for convenience
2017-02-26 14:51:22 +00:00
Chris Paul
fef3276f34
escape dot in maker regex ( #357 )
...
* escape dot in maker regex
* Create test_typecheck_handler
* Rename test_typecheck_handler to test_typecheck_handler.vader
2017-02-21 20:32:37 +00:00
w0rp
ecbb276805
Replace every stdin-wrapper script with the new %t formatting support
2017-02-11 19:40:57 +00:00
w0rp
d7ed49f849
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
Krystian Paszkiewicz
ff8f3673eb
Fix proper extension handling for tslint
2016-12-05 08:42:00 +00:00