vscode-edge-devtools icon indicating copy to clipboard operation
vscode-edge-devtools copied to clipboard

The compiler option "strict" should be enabled to reduce type errors

Open isRyven opened this issue 2 years ago • 3 comments

Environment (please complete the following information):

  • OS (e.g., Windows 10): Kubuntu 22.04 LTS x86_64
  • Extension version (e.g., 1.2.3): 2.1.0

Describe the bug:

I am not entirely sure why this happens, but it seems like some extension's internal linter rules get bleeded outside into my project, and i am ending up seeing the error like this on all of my tsconfig files:

The compiler option "strict" should be enabled to reduce type errors

image

The annotation suggests the error comes from this extension. After disabling the extension the error goes away.

Repro steps:

I don't have any specific steps to reproduce, i have a monorepo project with base tsconfig files, and couple of packages, nothing outstanding really, which makes it even more confusing. However i have a lockfile to share, perhaps some package causing this https://gist.github.com/isRyven/e84f313b36f21126b6a73627efde3b67

Expected behavior:

Additional context:

isRyven avatar Aug 24 '22 17:08 isRyven

I don't think that this means your configuration gets changed. This is just a message that this is a best practice to do. We have a new version coming up that allows you to filter these out.

codepo8 avatar Aug 30 '22 15:08 codepo8

how this (warning/error) from dev tools can be ignored? because it's really annoying?

croban avatar Oct 26 '22 12:10 croban

Turning off Webhint within "Extension settings" solves this issue, but it turns off other hints for accessibility, compatibility, security etc.

croban avatar Oct 26 '22 12:10 croban