[gnome-builder] Use the eslint plugin for TypeScript



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]