Top "Tslint" questions

tslint is a static analysis linter for TypeScript.

bash: tslint: command not found

I tried use tslint --fix but get bash: tslint: command not found.... I installed tslint using command: yarn global add …

javascript typescript tslint
Is there a way to enforce method return types on Typescript classes via a tslint rule?

I've read the tslint rules here and while it looks like the typedef rule's call-signature option is what I want, …

typescript tslint
TypeScript error: foo is declared but its value is never read. TS6133

Something simple that will cause this to happen. let _tick = 0; this.app.ticker.add( () => { moveSprites(dots); _tick += .2; return; }); Tslint …

typescript tslint
Property 'unsubscribe' does not exist on type 'Observable<DataSnapshot>'

Typescript(tslint in atom editor) is giving me a typescript error, but i cannot figure out how to set the …

angular typescript ionic-framework rxjs tslint
TSLint extension throwing errors in my Angular application running in Visual Studio Code

I recently started seeing, what seems like, TSLint errors. They look like this: Not using the local TSLint version found …

angular visual-studio-code eslint vscode-extensions tslint
VS Code: Change color of squiggly underline for Lint

My configurations currently show the same red squiggly line for Typescript errors and TSLint warnings. I am using TSLint extension …

visual-studio-code vscode-settings tslint
Proper explanation for NodeJS/Typescript Export / Import?

Could someone please explain exactly how exports and imports work in NodeJS using Typescript? My setup is: NodeJS Everything in …

node.js import typescript tslint
Why is tslint:recommended not allowing modules?

We are using typescript v2.3.2 and TSLint v4.5.1 with VS Code to create a SPA. Codebase is growing and we …

typescript module tslint
@typescript-eslint/eslint-plugin error: 'Route' is defined but never used (no-unused-vars)

After eslint adds typescript check, there will be an error when the attribute variable in the class definition is Array. …

javascript typescript eslint tslint
tslint not excluding node_modules in angular project

I tried to perform the following to exclude node_modules from tslint. But none of them resolved the issue. I …

angular typescript tslint