Skip to content

Commit

Permalink
Remove eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Oct 23, 2019
1 parent 435302d commit b164560
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 50 deletions.
20 changes: 0 additions & 20 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 0 additions & 6 deletions index.js

This file was deleted.

5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"license": "MIT",
"dependencies": {
"typescript": "^3.6.4",
"typescript-eslint-language-service": "^1.4.0",
"typescript-language-server": "^0.4.0"
}
}
18 changes: 1 addition & 17 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' ))
Expand Down Expand Up @@ -114,14 +105,7 @@ def config(self) -> ClientConfig:
]
}
],
"initializationOptions": {
# "plugins": [
# {
# "name": "typescript-eslint-language-service",
# "location": eslint_path
# }
# ]
}
"initializationOptions": {}
}

default_configuration.update(client_configuration)
Expand Down

0 comments on commit b164560

Please sign in to comment.