Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

No linting errors displayed #114

@ko-vasilev

Description

@ko-vasilev

The plugin doesn't seem to show any errors for me while the deprecated one is working just fine (https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin).
Here's the terse log:

Info 0    [15:32:33.57] Host information vscode
Info 1    [15:32:33.63] Search path: e:/Projects/Test/Client/common/src/services
Info 2    [15:32:33.65] Config file name: e:/Projects/Test/Client/tsconfig.json
Info 3    [15:32:33.937] Loading global plugin typescript-tslint-plugin
Info 4    [15:32:33.937] Enabling plugin typescript-tslint-plugin from candidate paths: e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js/../../..,C:\Users\Konstantin Vasilev\.vscode\extensions\ms-vscode.vscode-typescript-tslint-plugin-1.2.2
Info 5    [15:32:33.938] Loading typescript-tslint-plugin from e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js/../../.. (resolved to e:/Projects/Test/Client/node_modules/node_modules)
Info 6    [15:32:33.981] Failed to load module 'typescript-tslint-plugin': Error: Could not resolve JS module 'typescript-tslint-plugin' starting at 'e:/Projects/Test/Client/node_modules/node_modules'. Looked in: e:/Projects/Test/Client/node_modules/typescript-tslint-plugin/package.json, e:/Projects/Test/Client/node_modules/typescript-tslint-plugin.js, e:/Projects/Test/Client/node_modules/typescript-tslint-plugin.jsx, e:/Projects/Test/Client/node_modules/typescript-tslint-plugin/index.js, e:/Projects/Test/Client/node_modules/typescript-tslint-plugin/index.jsx, e:/Projects/Test/node_modules/typescript-tslint-plugin/package.json, e:/Projects/Test/node_modules/typescript-tslint-plugin.js, e:/Projects/Test/node_modules/typescript-tslint-plugin.jsx, e:/Projects/Test/node_modules/typescript-tslint-plugin/index.js, e:/Projects/Test/node_modules/typescript-tslint-plugin/index.jsx, e:/Projects/node_modules/typescript-tslint-plugin/package.json, e:/Projects/node_modules/typescript-tslint-plugin.js, e:/Projects/node_modules/typescript-tslint-plugin.jsx, e:/Projects/node_modules/typescript-tslint-plugin/index.js, e:/Projects/node_modules/typescript-tslint-plugin/index.jsx, e:/node_modules/typescript-tslint-plugin/package.json, e:/node_modules/typescript-tslint-plugin.js, e:/node_modules/typescript-tslint-plugin.jsx, e:/node_modules/typescript-tslint-plugin/index.js, e:/node_modules/typescript-tslint-plugin/index.jsx
    at Object.resolveJavaScriptModule (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:5020:19)
    at Object.sys.require (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:84178:45)
    at Function.Project.resolveModule (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:78972:35)
    at ConfiguredProject.enablePlugin (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:79632:50)
    at _loop_10 (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:79615:32)
    at ConfiguredProject.enablePlugins (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:79620:25)
    at new ConfiguredProject (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:79583:23)
    at ProjectService.createAndAddConfiguredProject (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:80560:31)
    at ProjectService.openConfigFile (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:80602:36)
    at ProjectService.openOrUpdateConfiguredProjectForFile (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:80372:35)
    at ProjectService.openClientFileWithNormalizedPath (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:80881:32)
    at IOSession.Session.openClientFile (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:82188:46)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:81419:31)
    at e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:82799:88
    at IOSession.Session.executeWithRequestId (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:82790:28)
    at IOSession.Session.executeCommand (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:82799:33)
    at IOSession.Session.onMessage (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:82819:35)
    at Interface.<anonymous> (e:\Projects\Test\Client\node_modules\typescript\lib\tsserver.js:83945:27)
    at Interface.emit (events.js:182:13)
    at Interface._onLine (readline.js:290:10)
    at Interface._normalWrite (readline.js:433:12)
    at Socket.ondata (readline.js:149:10)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
Info 7    [15:32:33.981] Loading typescript-tslint-plugin from C:\Users\Konstantin Vasilev\.vscode\extensions\ms-vscode.vscode-typescript-tslint-plugin-1.2.2 (resolved to C:/Users/Konstantin Vasilev/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2/node_modules)
Info 8    [15:32:34.79] [typescript-tslint-plugin] "Create"
Info 9    [15:32:34.79] [typescript-tslint-plugin] "ConfigurationManager: Found configured project: e:/Projects/Test/Client/tsconfig.json"
Info 10   [15:32:34.80] Plugin activation failed: TypeError: project.getCurrentDirectory is not a function
Info 11   [15:33:8.563] Add recursive watcher for: e:/Projects/Test/Client
Info 12   [15:33:8.777] Add type root watcher for: e:/Projects/Test/Client/node_modules/@types
Info 13   [15:33:8.782] Opened configuration file e:/Projects/Test/Client/tsconfig.json
Info 14   [15:33:8.952] Host configuration update for file e:/Projects/Test/Client/common/src/services/external-auth.service.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions