From a105aa90a595ac5b8e2fe3f581a05bb705f5de21 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 20 Jun 2017 10:50:38 +0100 Subject: Fix #668 - Support eslint for TypeScript --- doc/ale-typescript.txt | 8 ++++++++ doc/ale.txt | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt index 009864b9..dde38164 100644 --- a/doc/ale-typescript.txt +++ b/doc/ale-typescript.txt @@ -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* diff --git a/doc/ale.txt b/doc/ale.txt index 6a17cc60..9d07a51d 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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' -- cgit v1.2.3