[gnome-builder] Use the eslint plugin for TypeScript
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Use the eslint plugin for TypeScript
- Date: Thu, 24 Sep 2020 14:19:04 +0000 (UTC)
commit 5ab9024c79e072f1ce7d191bd8407ad45a514e0b
Author: Giovanni Campagna <scampa giovanni gmail com>
Date: Tue Sep 22 03:18:48 2020 +0000
Use the eslint plugin for TypeScript
Since the deprecation of tslint, eslint can parse and provide
diagnostics for TypeScript code too, if configured appropriately.
Hence, we don't need to do anything special to get TypeScript
support in Builder, other than to enable the plugin.
src/plugins/eslint/eslint.plugin | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/eslint/eslint.plugin b/src/plugins/eslint/eslint.plugin
index 80e13c99b..0ca0ae74b 100644
--- a/src/plugins/eslint/eslint.plugin
+++ b/src/plugins/eslint/eslint.plugin
@@ -7,5 +7,5 @@ Hidden=true
Module=eslint_plugin
Name=eslint
X-Diagnostic-Provider-Languages-Priority=100
-X-Diagnostic-Provider-Languages=js
+X-Diagnostic-Provider-Languages=js,ts
X-Builder-ABI=@PACKAGE_ABI@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]