question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add TypeScript linting support

See original GitHub issue

We should lint TypeScript files and try to approximate to match our ESLint configuration as close as possible.

TSLint rules we want:

maybe:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:66
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

14reactions
christianchowncommented, Nov 1, 2018

@copiali for now, you can add linting manually:

  • yarn add tslint tslint-react tslint-whatever-else-you-use
  • tslint.json in your root
  • "lint": "tslint -c tslint.json src/**/*.{ts,tsx}" in your package.json scripts (I also add --fix --format verbose)

and then yarn lint

14reactions
copialicommented, Oct 31, 2018

+1 Really need support for tslint…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use ESLint with TypeScript | Khalil Stemmler
ESLint is a JavaScript linter that enables you to enforce a set of style, formatting, and coding standards for your codebase. It looks...
Read more >
Linting in TypeScript using ESLint and Prettier - LogRocket Blog
Integrate Prettier with ESLint to automate type-checking in your TypeScript code and ensure that the code has no bugs.
Read more >
Lint and Style Your TypeScript Code with ESLint and Prettier
Tools like ESLint and Prettier can help automate and assert that code style be the same, and common pitfalls are caught.
Read more >
typescript-eslint
ESLint statically analyzes your code to quickly find problems. It allows creating a series of assertions called lint rules around what your code...
Read more >
How to add ESLint to your TypeScript Project - Medium
ESLint is an analyzer that help you find problems, ... Install TypeScript and run the command to create tsconfig file and add your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found