Fix #668 - Support eslint for TypeScript

This commit is contained in:
w0rp
2017-06-20 10:50:38 +01:00
parent b96f5845ed
commit a105aa90a5
11 changed files with 180 additions and 103 deletions

View File

@@ -2,6 +2,14 @@
ALE TypeScript Integration *ale-typescript-options*
-------------------------------------------------------------------------------
eslint *ale-typescript-eslint*
Becauase of how TypeScript compiles code to JavaScript and how interrelated
the two languages are, the `eslint` linter for TypeScript uses the JavaScript
options for `eslint` too. See: |ale-javascript-eslint|.
-------------------------------------------------------------------------------
tslint *ale-typescript-tslint*

View File

@@ -95,6 +95,7 @@ CONTENTS *ale-contents*
chktex..............................|ale-tex-chktex|
lacheck.............................|ale-tex-lacheck|
typescript............................|ale-typescript-options|
eslint..............................|ale-typescript-eslint|
tslint..............................|ale-typescript-tslint|
tsserver............................|ale-typescript-tsserver|
vim...................................|ale-vim-options|
@@ -195,7 +196,7 @@ The following languages and tools are supported.
* Swift: 'swiftlint'
* Texinfo: 'proselint'
* Text: 'proselint', 'vale'
* TypeScript: 'tslint', 'tsserver', 'typecheck'
* TypeScript: 'eslint', 'tslint', 'tsserver', 'typecheck'
* Verilog: 'iverilog', 'verilator'
* Vim: 'vint'
* Vim help: 'proselint'