From 7d8574bcd5394e4477d40f4d383bd2d416420add Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Sun, 21 Jan 2024 13:00:08 +0800 Subject: [PATCH] chore: remove eslint, tslint services --- packages/eslint/LICENSE | 21 ------ packages/eslint/README.md | 40 ------------ packages/eslint/index.ts | 120 ---------------------------------- packages/eslint/package.json | 39 ----------- packages/eslint/tsconfig.json | 7 -- packages/tslint/LICENSE | 21 ------ packages/tslint/README.md | 40 ------------ packages/tslint/index.ts | 103 ----------------------------- packages/tslint/package.json | 38 ----------- packages/tslint/tsconfig.json | 7 -- pnpm-lock.yaml | 97 ++++++--------------------- readme.md | 2 - 12 files changed, 20 insertions(+), 515 deletions(-) delete mode 100644 packages/eslint/LICENSE delete mode 100644 packages/eslint/README.md delete mode 100644 packages/eslint/index.ts delete mode 100644 packages/eslint/package.json delete mode 100644 packages/eslint/tsconfig.json delete mode 100644 packages/tslint/LICENSE delete mode 100644 packages/tslint/README.md delete mode 100644 packages/tslint/index.ts delete mode 100644 packages/tslint/package.json delete mode 100644 packages/tslint/tsconfig.json diff --git a/packages/eslint/LICENSE b/packages/eslint/LICENSE deleted file mode 100644 index e2ac49ce..00000000 --- a/packages/eslint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022-present Johnson Chu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/eslint/README.md b/packages/eslint/README.md deleted file mode 100644 index 28ac44f0..00000000 --- a/packages/eslint/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# volar-service-eslint - -Volar plugin for [ESLint](https://eslint.org/). - -Use ESLint with Volar language server to have better performance and accuracy. - -Please note that you should disable ESLint VSCode Extension when use this plugin. - -Example: https://github.com/DrJume/vue-volar-eslint - -## Installation - -```sh -npm install volar-service-eslint -``` - -## Usage - -`volar.config.js` - -```js -const baseConfig = require('./.eslintrc.cjs'); // load your project eslint config - -module.exports = { - services: [ - require('volar-service-eslint').create(program => ({ - ...baseConfig, - ignorePatterns: ['**/*.vue.*'], // ignore virtual files: *.vue.ts, *.vue.html, *.vue.css - parserOptions: { - ...baseConfig.parserOptions, - programs: [program], // replace eslint typescript program - }, - })), - ], -}; -``` - -## License - -[MIT](LICENSE) © [Johnson Chu](https://github.com/johnsoncodehk) diff --git a/packages/eslint/index.ts b/packages/eslint/index.ts deleted file mode 100644 index b59346de..00000000 --- a/packages/eslint/index.ts +++ /dev/null @@ -1,120 +0,0 @@ -import type { CodeAction, Diagnostic, ServicePluginInstance, ServicePlugin } from '@volar/language-service'; -import { ESLint, Linter } from 'eslint'; -import type * as ts from 'typescript'; -import type { Provide } from 'volar-service-typescript'; - -export function create(resolveConfig?: (program: ts.Program) => Linter.Config): ServicePlugin { - - const instances = new WeakMap(); - const uriToLintResult = new Map(); - - return { - name: 'eslint', - create(context): ServicePluginInstance { - return { - async provideSemanticDiagnostics(document) { - - const languageService = context.inject('typescript/languageService'); - const eslint = getEslint(languageService.getProgram()!); - const lintResult = await eslint.lintText( - document.getText(), - { filePath: context.env.typescript!.uriToFileName(document.uri) }, - ); - uriToLintResult.set(document.uri, lintResult); - const diagnostics: Diagnostic[] = []; - - for (let i = 0; i < lintResult.length; i++) { - const result = lintResult[i]; - for (let j = 0; j < result.messages.length; j++) { - const message = result.messages[j]; - if (message.severity === 0) { - continue; - } - if (!message.line || !message.column) { - message.line = 1; - message.column = 1; - } - diagnostics.push({ - source: 'eslint', - code: message.ruleId ?? undefined, - message: message.message, - severity: message.severity === 1 ? 2 : 1, - range: { - start: { - line: message.line - 1, - character: message.column - 1, - }, - end: { - line: message.endLine ? message.endLine - 1 : message.line - 1, - character: message.endColumn ? message.endColumn - 1 : message.column - 1, - }, - }, - data: { - uri: document.uri, - version: document.version, - indexes: [i, j], - }, - }); - } - } - - return diagnostics; - }, - - provideCodeActions(document, _range, codeActionContext) { - - const result: CodeAction[] = []; - - for (const diagnostic of codeActionContext.diagnostics) { - - if (diagnostic.source !== 'eslint') { - continue; - } - - if (diagnostic.data?.uri !== document.uri || diagnostic.data?.version !== document.version) { - continue; - } - - const lintResult = uriToLintResult.get(document.uri); - const message = lintResult?.[diagnostic.data.indexes[0]]?.messages[diagnostic.data.indexes[1]]; - if (!message?.fix) { - continue; - } - - const codeAction: CodeAction = { - title: 'Fix ESLint: ' + message.message, - kind: 'quickfix', - edit: { - changes: { - [document.uri]: [{ - range: { - start: document.positionAt(message.fix.range[0]), - end: document.positionAt(message.fix.range[1]), - }, - newText: message.fix.text, - }], - }, - }, - }; - result.push(codeAction); - } - - return result; - }, - }; - }, - }; - - function getEslint(program: ts.Program) { - return instances.get(program) ?? instances.set(program, new ESLint( - resolveConfig - ? { - baseConfig: resolveConfig(program), - useEslintrc: false, - } - : { - useEslintrc: true, - } - )).get(program)!; - } -}; diff --git a/packages/eslint/package.json b/packages/eslint/package.json deleted file mode 100644 index d50fa92d..00000000 --- a/packages/eslint/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "volar-service-eslint", - "version": "0.0.26", - "description": "Integrate ESLint into Volar", - "homepage": "https://github.com/volarjs/services/tree/master/packages/eslint", - "bugs": "https://github.com/volarjs/services/issues", - "sideEffects": false, - "keywords": [ - "volar-service" - ], - "license": "MIT", - "files": [ - "**/*.js", - "**/*.d.ts" - ], - "repository": { - "type": "git", - "url": "https://github.com/volarjs/services.git", - "directory": "packages/eslint" - }, - "author": { - "name": "Johnson Chu", - "email": "johnsoncodehk@gmail.com", - "url": "https://github.com/johnsoncodehk" - }, - "devDependencies": { - "@types/eslint": "latest", - "volar-service-typescript": "0.0.26" - }, - "peerDependencies": { - "@volar/language-service": "next", - "eslint": "*" - }, - "peerDependenciesMeta": { - "@volar/language-service": { - "optional": true - } - } -} diff --git a/packages/eslint/tsconfig.json b/packages/eslint/tsconfig.json deleted file mode 100644 index 8d655e0c..00000000 --- a/packages/eslint/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ "*", "lib/**/*" ], - "references": [ - { "path": "../typescript/tsconfig.json" }, - ], -} diff --git a/packages/tslint/LICENSE b/packages/tslint/LICENSE deleted file mode 100644 index e2ac49ce..00000000 --- a/packages/tslint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022-present Johnson Chu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/tslint/README.md b/packages/tslint/README.md deleted file mode 100644 index 9917b7fe..00000000 --- a/packages/tslint/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# volar-service-tslint - -Volar plugin for [TSLint](https://palantir.github.io/tslint/). - -## Installation - -```sh -npm install tslint volar-service-tslint -``` - -## Usage - -`volar.config.js` - -```js -module.exports = { - - services: [ - - require('volar-service-tslint').create([ - - new (require('tslint/lib/rules/banTsIgnoreRule').Rule)({ - ruleName: 'ban-ts-ignore', - ruleArguments: [], - ruleSeverity: 'warning', - }), - - new (require('tslint/lib/rules/maxLineLengthRule').Rule)({ - ruleName: 'max-line-length', - ruleArguments: [40], - ruleSeverity: 'warning', - }), - ]), - ], -}; -``` - -## License - -[MIT](LICENSE) © [Johnson Chu](https://github.com/johnsoncodehk) diff --git a/packages/tslint/index.ts b/packages/tslint/index.ts deleted file mode 100644 index 752551b0..00000000 --- a/packages/tslint/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import type { CodeAction, Diagnostic, ServicePlugin, ServicePluginInstance } from '@volar/language-service'; -import type { IRule, RuleFailure } from 'tslint'; -import type { Provide } from 'volar-service-typescript'; - -export function create(rules: IRule[]): ServicePlugin { - - const diagnosticToFailure = new Map(); - - return { - name: 'tslint', - create(context): ServicePluginInstance { - return { - provideSemanticDiagnostics(document, token) { - - const languageService = context.inject('typescript/languageService'); - const fileName = context.env.typescript!.uriToFileName(document.uri); - const sourceFile = languageService.getProgram()?.getSourceFile(fileName); - if (!sourceFile) { - return; - } - - let failures: RuleFailure[] = []; - - for (const rule of rules) { - if (token.isCancellationRequested) { - return; - } - const ruleSeverity = rule.getOptions().ruleSeverity; - if (ruleSeverity === 'off') { - continue; - } - const ruleFailures = rule.apply(sourceFile); - for (const ruleFailure of ruleFailures) { - ruleFailure.setRuleSeverity(ruleSeverity); - } - failures = failures.concat(ruleFailures); - } - - diagnosticToFailure.set(document.uri, failures); - - const diagnostics: Diagnostic[] = []; - - for (let i = 0; i < failures.length; i++) { - const failure = failures[i]; - const diagnostic: Diagnostic = { - source: 'tslint', - code: failure.getRuleName(), - message: failure.getFailure(), - range: { - start: failure.getStartPosition().getLineAndCharacter(), - end: failure.getEndPosition().getLineAndCharacter(), - }, - severity: failure.getRuleSeverity() === 'error' ? 1 : 2, - data: i, - }; - diagnostics.push(diagnostic); - } - - return diagnostics; - }, - - provideCodeActions(document, _range, codeActionContext) { - - const result: CodeAction[] = []; - - for (const diagnostic of codeActionContext.diagnostics) { - - const failures = diagnosticToFailure.get(document.uri); - const failure = failures?.[diagnostic.data as number]; - if (!failure) { - continue; - } - - const fix = failure.getFix(); - if (!fix) { - continue; - } - - const replaces = Array.isArray(fix) ? fix : [fix]; - const codeAction: CodeAction = { - title: 'Fix TSLint: ' + failure.getFailure(), - kind: 'quickfix', - edit: { - changes: { - [document.uri]: replaces.map(replace => ({ - range: { - start: document.positionAt(replace.start), - end: document.positionAt(replace.end), - }, - newText: replace.text, - })), - }, - }, - }; - result.push(codeAction); - } - - return result; - }, - }; - }, - }; -}; diff --git a/packages/tslint/package.json b/packages/tslint/package.json deleted file mode 100644 index 8c099046..00000000 --- a/packages/tslint/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "volar-service-tslint", - "version": "0.0.26", - "description": "Integrate TSLint into Volar", - "homepage": "https://github.com/volarjs/services/tree/master/packages/tslint", - "bugs": "https://github.com/volarjs/services/issues", - "sideEffects": false, - "keywords": [ - "volar-service" - ], - "license": "MIT", - "files": [ - "**/*.js", - "**/*.d.ts" - ], - "repository": { - "type": "git", - "url": "https://github.com/volarjs/services.git", - "directory": "packages/tslint" - }, - "author": { - "name": "Johnson Chu", - "email": "johnsoncodehk@gmail.com", - "url": "https://github.com/johnsoncodehk" - }, - "devDependencies": { - "tslint": "latest", - "volar-service-typescript": "0.0.26" - }, - "peerDependencies": { - "@volar/language-service": "next" - }, - "peerDependenciesMeta": { - "@volar/language-service": { - "optional": true - } - } -} diff --git a/packages/tslint/tsconfig.json b/packages/tslint/tsconfig.json deleted file mode 100644 index 8d655e0c..00000000 --- a/packages/tslint/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ "*", "lib/**/*" ], - "references": [ - { "path": "../typescript/tsconfig.json" }, - ], -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a7631e1..46dd6895 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,22 +55,6 @@ importers: specifier: 0.0.26 version: link:../html - packages/eslint: - dependencies: - '@volar/language-service': - specifier: next - version: 2.0.0-alpha.14 - eslint: - specifier: '*' - version: 8.56.0 - devDependencies: - '@types/eslint': - specifier: latest - version: 8.56.2 - volar-service-typescript: - specifier: 0.0.26 - version: link:../typescript - packages/html: dependencies: '@volar/language-service': @@ -231,19 +215,6 @@ importers: specifier: ^1.0.11 version: 1.0.11 - packages/tslint: - dependencies: - '@volar/language-service': - specifier: next - version: 2.0.0-alpha.14 - devDependencies: - tslint: - specifier: latest - version: 6.1.3(typescript@5.3.3) - volar-service-typescript: - specifier: 0.0.26 - version: link:../typescript - packages/typescript: dependencies: '@volar/language-service': @@ -1112,21 +1083,6 @@ packages: minimatch: 9.0.3 dev: true - /@types/eslint@8.56.2: - resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} - dependencies: - '@types/estree': 1.0.5 - '@types/json-schema': 7.0.15 - dev: true - - /@types/estree@1.0.5: - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: true - - /@types/json-schema@7.0.15: - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - dev: true - /@types/keyv@3.1.4: resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} dependencies: @@ -1387,6 +1343,7 @@ packages: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} dependencies: sprintf-js: 1.0.3 + dev: false /argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -1465,6 +1422,7 @@ packages: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 + dev: false /brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -1492,6 +1450,7 @@ packages: /builtin-modules@1.1.1: resolution: {integrity: sha512-wxXCdllwGhI2kCC0MnvTGYTMvnVZTvqgypkiTI8Pa5tcz2i6VqsqwYGgqwXji+4RgCzms6EajE4IxiUH6HH8nQ==} engines: {node: '>=0.10.0'} + dev: false /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} @@ -1727,6 +1686,7 @@ packages: /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: false /common-ancestor-path@1.0.1: resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} @@ -1741,6 +1701,7 @@ packages: /concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + dev: false /concat-stream@1.6.2: resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} @@ -2018,6 +1979,7 @@ packages: /diff@4.0.2: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} + dev: false /doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} @@ -2250,6 +2212,7 @@ packages: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true + dev: false /esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} @@ -2482,6 +2445,7 @@ packages: /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + dev: false /function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -2603,6 +2567,7 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + dev: false /global-dirs@0.1.1: resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} @@ -2877,6 +2842,7 @@ packages: dependencies: once: 1.4.0 wrappy: 1.0.2 + dev: false /inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -3143,6 +3109,7 @@ packages: dependencies: argparse: 1.0.10 esprima: 4.0.1 + dev: false /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} @@ -3524,6 +3491,7 @@ packages: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: brace-expansion: 1.1.11 + dev: false /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} @@ -3618,6 +3586,7 @@ packages: hasBin: true dependencies: minimist: 1.2.8 + dev: false /mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} @@ -4126,6 +4095,7 @@ packages: /path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} + dev: false /path-is-inside@1.0.2: resolution: {integrity: sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==} @@ -4147,6 +4117,7 @@ packages: /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: false /path-scurry@1.10.1: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} @@ -4499,6 +4470,7 @@ packages: is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + dev: false /responselike@1.0.2: resolution: {integrity: sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==} @@ -4578,6 +4550,7 @@ packages: /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true + dev: false /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} @@ -4730,6 +4703,7 @@ packages: /sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + dev: false /ssri@10.0.5: resolution: {integrity: sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==} @@ -4889,6 +4863,7 @@ packages: /supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + dev: false /tar@6.2.0: resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} @@ -4985,6 +4960,7 @@ packages: /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + dev: false /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} @@ -5014,30 +4990,6 @@ packages: typescript: 4.9.5 dev: false - /tslint@6.1.3(typescript@5.3.3): - resolution: {integrity: sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==} - engines: {node: '>=4.8.0'} - deprecated: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. - hasBin: true - peerDependencies: - typescript: '>=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 4.0.0-dev' - dependencies: - '@babel/code-frame': 7.23.5 - builtin-modules: 1.1.1 - chalk: 2.4.2 - commander: 2.20.3 - diff: 4.0.2 - glob: 7.2.3 - js-yaml: 3.14.1 - minimatch: 3.1.2 - mkdirp: 0.5.6 - resolve: 1.22.8 - semver: 5.7.2 - tslib: 1.14.1 - tsutils: 2.29.0(typescript@5.3.3) - typescript: 5.3.3 - dev: true - /tsutils@2.29.0(typescript@4.9.5): resolution: {integrity: sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==} peerDependencies: @@ -5047,15 +4999,6 @@ packages: typescript: 4.9.5 dev: false - /tsutils@2.29.0(typescript@5.3.3): - resolution: {integrity: sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==} - peerDependencies: - typescript: '>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev' - dependencies: - tslib: 1.14.1 - typescript: 5.3.3 - dev: true - /tuf-js@2.2.0: resolution: {integrity: sha512-ZSDngmP1z6zw+FIkIBjvOp/II/mIub/O7Pp12j1WNsiCpg5R5wAc//i555bBQsE44O94btLt0xM/Zr2LQjwdCg==} engines: {node: ^16.14.0 || >=18.0.0} diff --git a/readme.md b/readme.md index 72ae618a..4ed43396 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,6 @@ |-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|--------------|------------|------------| | css | [vscode-css-languageservice](https://github.com/microsoft/vscode-css-languageservice) | ✅ | ✅ | ✅ | ✅ | | emmet | [vscode-emmet-helper](https://github.com/microsoft/vscode-emmet-helper) | | ✅ | | | -| eslint | [eslint](https://github.com/eslint/eslint) | | | ✅ | | | html | [vscode-html-languageservice](https://github.com/microsoft/vscode-html-languageservice) | ✅ | ✅ | | ✅ | | json | [vscode-json-languageservice](https://github.com/microsoft/vscode-json-languageservice) | ✅ | ✅ | ✅ | ✅ | | markdown | [vscode-markdown-languageservice](https://github.com/microsoft/vscode-markdown-languageservice) | | ✅ | ✅ | | @@ -15,7 +14,6 @@ | pug-beautify | [pug-beautify](https://github.com/vingorius/pug-beautify) | | | | ✅ | | sass-formatter | [sass-formatter](https://github.com/TheRealSyler/sass-formatter) | | | | ✅ | | tsconfig | [vscode/typescript-language-features](https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/tsconfig.ts) | | ✅ | | | -| tslint | [tslint](https://github.com/palantir/tslint) | | | ✅ | | | typescript | [TypeScript](https://github.com/microsoft/TypeScript) | ✅ | ✅ | ✅ | ✅ | | typescript-twoslash-queries | [vscode-twoslash-queries](https://github.com/orta/vscode-twoslash-queries) | | ✅ | | | | vetur | [vls](https://github.com/vuejs/vetur) | | ✅ | | |