From 3c1dbc49b65136f845630f226c4c805df579e63d Mon Sep 17 00:00:00 2001 From: Mitsuo Heijo Date: Tue, 25 Feb 2020 16:40:45 +0900 Subject: fix requires and support typescriptreact and javascriptreact --- settings.json | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/settings.json b/settings.json index d168b14..2a6a377 100644 --- a/settings.json +++ b/settings.json @@ -277,12 +277,10 @@ { "command": "eslint-language-server", "requires": [ - "git", - "npm" + "node" ], "root_uri_patterns": [ - "package.json", - "tsconfig.json" + "package.json" ] } ], @@ -293,8 +291,16 @@ "npm" ], "root_uri_patterns": [ - "package.json", - "tsconfig.json" + "package.json" + ] + }, + { + "command": "eslint-language-server", + "requires": [ + "node" + ], + "root_uri_patterns": [ + "package.json" ] }, { @@ -638,8 +644,7 @@ { "command": "eslint-language-server", "requires": [ - "git", - "npm" + "node" ], "root_uri_patterns": [ "package.json", @@ -657,6 +662,16 @@ "package.json", "tsconfig.json" ] + }, + { + "command": "eslint-language-server", + "requires": [ + "node" + ], + "root_uri_patterns": [ + "package.json", + "tsconfig.json" + ] } ], "vim": [ -- cgit v1.2.3-54-g00ecf