bazelbuild / vscode-bazel

Bazel support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel
Apache License 2.0
231 stars 76 forks source link

Stricter typescript configuration #358

Closed vogelsgesang closed 3 months ago

vogelsgesang commented 3 months ago

This commit makes the TypeScript configuration stricter by enabling the strict setting. This implies that the alwaysStrict setting is implicitely enabled and no longer needs to be mentioned explicitly.

This required three fixes:

The strictNullChecks setting is explicitly opted-out. There are 117 violations against those stricter null checks, and to make the reviews easier, I plan to fix those in a separate commit.

I also removed the allowJs setting. Not sure why this was ever set. It doesn't seem to be required anymore.

BEGIN_COMMIT_OVERRIDE build: Stricter typescript configuration (#358) END_COMMIT_OVERRIDE