Top "Tslint" questions

tslint is a static analysis linter for TypeScript.

How to order imports with tslint's import-ordering rule

On my project tslint's "import-ordering" rule is used import CopyLensModal from './CopyLensModal'; import FetchStatus from '../../../../../state/generic/models/…

import tslint
What could this be about? [TsLint Error: "Promises must be handled appropriately"]

I'm doing some basic asynchronous operations using async/await in TypeScript but TSLint is throwing mysterious error messages for these …

javascript typescript asynchronous exception tslint
Subscribe is deprecated: Use an observer instead of an error callback

When I run the linter it says: subscribe is deprecated: Use an observer instead of an error callback Code (from …

callback rxjs deprecated tslint subscribe
tslint Error - Shadowed name: 'err'

tslint is currently throwing the following error Shadowed name: 'err' Here is the code fs.readdir(fileUrl, (err, files) => { …

node.js angular typescript lint tslint
How to ignore/exclude some files/directory from linting in angular cli

Similar to this question I am running the following command to linting my angular2 typeScript code. ng lint It is …

angular angular-cli tslint
TSLint : variable name must be in camelcase or uppercase

I have some variable names starting with leading underscore , I still get this warning after updating my tslint.json tslint.…

typescript tslint
What to include in configuration of tslint.json?

I don't know which rule should be included in tslint.json. Can anyone show me the common or standard use …

typescript tslint
Update TSLint Errors : Could not find implementations for the following rules specified in the configuration

I upgraded my tslint to 4.0.2 and now I get a lot of errors like the following Could not find implementations …

angular typescript tslint
location.reload(true) is deprecated

I know that it is not ideal to reload an Angular Single Page Application. However there is a place that …

javascript angular reload tslint