Skip to content
#

tslint

Here are 663 public repositories matching this topic...

slubowsky
slubowsky commented Jan 21, 2019

I want to request a feature.

Typescript noUnusedParameters option ignores params beginning with underscore (understand that some people dislike this, but this is how it is). For such params that are being ignored it would seem preferable to use the optional parameter syntax over providing an unused default value. A default value makes it LESS clear that the parameter is actually not used.

adidahiya
adidahiya commented Mar 12, 2019

Similar to palantir/tslint#4534... note that all formatting rule requests will be declined because we recommend using Prettier for code formatting.

You may also use this thread as a place to submit feedback about the state of eslint-plugin-react w/ TypeScript.


Update (June 2019): a more concrete roadmap timeline:

  • August 1st, 2019: Stop accepting new
Plokkke
Plokkke commented Aug 22, 2019
  • tslint Version: 5.18.0
  • typescript Version: 3.5.3

TSLint is completely quiet on file stored in directory starting with number.
I have such tree :

  • sources
    • 60m
      • index.ts
    • server.ts

Errors in server.ts are properly highlighted whereas those in index.ts are not shown.

pablorsk
pablorsk commented Aug 23, 2018

What is the best configuration or more strict configuration of rxjs-tslint-rules?

        "rxjs-add": true,
        "rxjs-ban-observables": true,
        "rxjs-ban-operators": true,
        "rxjs-deep-operators": true,
        "rxjs-no-create": true,
        "rxjs-no-unsafe-catch": true,
        "rxjs-no-unsafe-first": true,
        "rxjs-no-unsafe-switchmap": true,
        "rxjs
joelricci
joelricci commented Aug 26, 2019

I'm not sure if this issue is more related to VSCode, tslint or this plugin, but considering that tslint works as expected except for the prettier part I'm starting by posting an issue here.

My project folder structure looks similar to this:

<root>
├── backend
└── frontend
    ├── tslint.js
    └── .prettierrc

In VSCode, I open the project root. Now prettier won't do anyth

aleclarson
aleclarson commented Dec 10, 2018

Prettier's printWidth defaults to 80, which (if left unchanged) makes TSLint's max-line-length look broken. The reality is that users should be using Prettier options to control the maximum line length.

To ease the pain, this package could probably translate TSLint's max-line-length into Prettier's printWidth automatically when printWidth is not explicitly defined.

We could also wa

Soul-Master
Soul-Master commented Jun 2, 2018

In TypeScript 2.9, external module can reference to other JSON module. TSLint language service should allow us to ignore JSON files just like TypeScript definition files. I try to exclude JSON file in tslint/typescript config. But it doesn't work.

The following code can fix this issue on VS2017.
fig.ignoreDefinitionFiles === true && fileName.endsWith('.json')) { return prior; }

Improve this page

Add a description, image, and links to the tslint topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tslint topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.