Add eslint-language-server

This commit is contained in:
Yasuhiro Matsumoto
2020-02-18 22:54:16 +09:00
parent 40fa3b6cbb
commit eb856bd1c5
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
git clone "https://github.com/microsoft/vscode-eslint" .
git checkout release/1.9.1
npm install
npm run compile:server
cat <<EOF >eslint-language-server
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
node \$DIR/server/out/eslintServer.js --stdio \$*
EOF
chmod +x eslint-language-server