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 a quick way to disable tslint for typescript projects

See original GitHub issue

Not sure if there is an easy way to do this but I tried {eslint: {enable: false}} and {tslint: {enable: false}}.

Here is how I used to do it with rewired:

const EXCLUDED_PLUGINS = ['ForkTsCheckerWebpackPlugin'];
config.plugins = config.plugins.filter(plugin => !EXCLUDED_PLUGINS.includes(plugin.constructor.name));

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
patricklafrancecommented, Mar 13, 2019

@mgcrea available with https://www.npmjs.com/package/@craco/craco/v/3.6.0

You can disable typescript type checking by doing

    typescript: {
        enableTypeChecking: false
    }
0reactions
socketpaircommented, Feb 20, 2021

@patricklafrance Just WHERE to write this ?!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a quick way to disable tslint for typescript projects #75
Not sure if there is an easy way to do this but I tried {eslint: {enable: false}} and {tslint: {enable: false}}. Here is...
Read more >
Is it possible to disable TSLint in tslint.json? - Stack Overflow
P.S.. It's possible to disable it by adding comment to the file, but I don't want to add such comment to every TS...
Read more >
Configuring TSLint - Palantir Open Source
TSLint documentation. A linter for the TypeScript language.
Read more >
Migrate from TSLint to ESLint - Visual Studio Code
You are now ready to run ESLint, but before doing that, we recommend you disable TSLint. To do so, open the Extensions view...
Read more >
Ditch TSLint with ESLint in SharePoint Framework projects
The first step is to remove that deprecated TSLint tool from your project, as well as all related files. Within the file ./gulpfile.js,...
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