diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index c0aa633..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "env": { - "browser": true, - "es6": true - }, - "extends": [ - "airbnb-base" - ], - "globals": { - "Atomics": "readonly", - "SharedArrayBuffer": "readonly" - }, - "parserOptions": { - "ecmaVersion": 2018, - "sourceType": "module" - }, - "rules": { - "no-console":"error" - } -} \ No newline at end of file diff --git a/README.md b/README.md index 5b4f73b..7685f67 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # LSP-typescript -TypeScript, JavaScript, TSLint and ESlint support for Sublime's LSP plugin. +TypeScript and JavaScript support for Sublime's LSP plugin. * Install [LSP](https://packagecontrol.io/packages/LSP) and `LSP-typescript` from Package Control. If you use TypeScript install [TypeScript Syntax](https://packagecontrol.io/packages/TypeScript%20Syntax). If you use React install [JSCustom](https://packagecontrol.io/packages/JSCustom). * Restart Sublime. \ No newline at end of file diff --git a/index.js b/index.js deleted file mode 100644 index 75cc44f..0000000 --- a/index.js +++ /dev/null @@ -1,6 +0,0 @@ -console.log('dasdasd') -// this should be an eslint error -// "no-console":"error" - - -let x = document.querySelector('') \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8bc8083..40d563b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,11 +66,6 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz", "integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==" }, - "typescript-eslint-language-service": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/typescript-eslint-language-service/-/typescript-eslint-language-service-1.4.0.tgz", - "integrity": "sha512-tukb/z5Koi1wPkTl/BrRYNg2SdKX2YaBeZhG+7mr7Z7js4KYxs1HnmsqWV20QgEwFSYe8JbGlfmZJoM3adiPlA==" - }, "typescript-language-server": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/typescript-language-server/-/typescript-language-server-0.4.0.tgz", diff --git a/package.json b/package.json index dc23d6d..55f0109 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "license": "MIT", "dependencies": { "typescript": "^3.6.4", - "typescript-eslint-language-service": "^1.4.0", "typescript-language-server": "^0.4.0" } } diff --git a/plugin.py b/plugin.py index 5be7b8d..f41afbe 100644 --- a/plugin.py +++ b/plugin.py @@ -17,15 +17,6 @@ 'cli.js' ) -eslint_path = os.path.join( - package_path, - 'node_modules', - 'typescript-eslint-language-service', - 'lib', - 'index.js' -) - - def plugin_loaded(): is_server_installed = os.path.isfile(server_path) print('LSP-typescript: Server {} installed.'.format('is' if is_server_installed else 'is not' )) @@ -114,14 +105,7 @@ def config(self) -> ClientConfig: ] } ], - "initializationOptions": { - # "plugins": [ - # { - # "name": "typescript-eslint-language-service", - # "location": eslint_path - # } - # ] - } + "initializationOptions": {} } default_configuration.update(client_configuration)