diff --git a/.travis.yml b/.travis.yml index fe00809a1667b..3784589bfcc0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,7 +51,6 @@ cache: - packages/search-in-workspace/node_modules - packages/task/node_modules - packages/terminal/node_modules - - packages/tslint/node_modules - packages/typehierarchy/node_modules - packages/typescript/node_modules - packages/userstorage/node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index 0243d83bebcd8..514e62b9c9be9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,8 @@ Breaking changes: - The extension will no longer be maintained by the project and remains in the Git history for anyone who would like to reference it or maintain it. - [textmate-grammars] removed the `@theia/textmate-grammars` extension [#6933](https://github.com/eclipse-theia/theia/pull/6933) - The extension will no longer be maintained by the project and remains in the Git history for anyone who would like to reference it or maintain it. +- [tslint] removed the `@theia/tslint` extension [#6933](https://github.com/eclipse-theia/theia/pull/6933) + - The extension will no longer be maintained by the project and remains in the Git history for anyone who would like to reference it or maintain it. - [task] renamed method `getStrigifiedTaskSchema()` has been renamed to `getStringifiedTaskSchema()` [#6780](https://github.com/eclipse-theia/theia/pull/6780) - [task] renamed method `reorgnizeTasks()` has been renamed to `reorganizeTasks()` [#6780](https://github.com/eclipse-theia/theia/pull/6780) - Support VS Code icon and color theming. [#6475](https://github.com/eclipse-theia/theia/pull/6475) diff --git a/packages/tslint/README.md b/packages/tslint/README.md deleted file mode 100644 index 8ee019c1843be..0000000000000 --- a/packages/tslint/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Theia - TSLint Extension - -See [here](https://www.theia-ide.org/doc/index.html) for a detailed documentation. - -## Configuring the tslint-server-plugin - -You can define settings for the `tslint-language-service` plugin in the `tsconfig.json` file. -The available settings are documented [here](https://github.com/angelozerr/tslint-language-service#configuration-options): -```json -{ - "compilerOptions": { - "plugins": [ - { - "name": "tslint-language-service", - "alwaysShowRuleFailuresAsWarnings": false, - "ignoreDefinitionFiles": true - //"configFile": "../tslint.json", - //"disableNoUnusedVariableRule": false - } - ], - } -} -``` - -## Using a different version of tslint than the version that is bundled with the extension - -The extension comes with a particular version of tslint. -If you want to use a different version then you have to install the `tslint-languageservice` package and `tslint` as a peer to the TypeScript version you want to use. -The modules folder should have the following layout: -- node_modules - - typescript - - tslint - - tslint-language-service - -## License -- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/) -- [δΈ€ (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp) diff --git a/packages/tslint/compile.tsconfig.json b/packages/tslint/compile.tsconfig.json deleted file mode 100644 index a23513b5e6b13..0000000000000 --- a/packages/tslint/compile.tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../configs/base.tsconfig", - "compilerOptions": { - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ] -} diff --git a/packages/tslint/package.json b/packages/tslint/package.json deleted file mode 100644 index 4fc27e3560274..0000000000000 --- a/packages/tslint/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@theia/tslint", - "version": "0.14.0", - "description": "Theia - TSLint Extension", - "publishConfig": { - "access": "public" - }, - "dependencies": { - "tslint-language-service": "^0.9.9" - }, - "keywords": [ - "theia-extension" - ], - "license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0", - "repository": { - "type": "git", - "url": "https://github.com/eclipse-theia/theia.git" - }, - "bugs": { - "url": "https://github.com/eclipse-theia/theia/issues" - }, - "homepage": "https://github.com/eclipse-theia/theia", - "files": [ - "lib", - "src", - "data" - ], - "scripts": { - "prepare": "yarn run clean && yarn run build", - "clean": "theiaext clean", - "build": "theiaext build", - "watch": "theiaext watch", - "test": "theiaext test" - }, - "devDependencies": { - "@theia/ext-scripts": "^0.14.0" - }, - "nyc": { - "extends": "../../configs/nyc.json" - }, - "contributes": { - "typescriptServerPlugins": [ - { - "name": "tslint-language-service" - } - ] - } -} diff --git a/packages/tslint/src/package.spec.ts b/packages/tslint/src/package.spec.ts deleted file mode 100644 index 4dd5df45e1ae4..0000000000000 --- a/packages/tslint/src/package.spec.ts +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************** - * Copyright (C) 2018 TypeFox and others. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the Eclipse - * Public License v. 2.0 are satisfied: GNU General Public License, version 2 - * with the GNU Classpath Exception which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - ********************************************************************************/ - -/* note: this bogus test file is required so that - we are able to run mocha unit tests on this - package, without having any actual unit tests in it. - This way a coverage report will be generated, - showing 0% coverage, instead of no report. - This file can be removed once we have real unit - tests in place. */ - -describe('tslint package', () => { - - it('should support code coverage statistics', () => true); -});