about summary refs log tree commit diff
path: root/editors/code/package-lock.json
diff options
context:
space:
mode:
authorTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-06-28 03:01:57 +0900
committerTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-06-28 03:05:04 +0900
commit0ddf8b63e9d5c5bee37933ae5ca5c6d9f7a9e511 (patch)
treec3e3ee45416a3d78f2bfdfc664b1066c51c99f76 /editors/code/package-lock.json
parent7c8ae35648099189e550c873c0dae3a4ca6c50a9 (diff)
downloadrust-0ddf8b63e9d5c5bee37933ae5ca5c6d9f7a9e511.tar.gz
rust-0ddf8b63e9d5c5bee37933ae5ca5c6d9f7a9e511.zip
editor/code: Use `@tsconfig/strictest` to define type checking rules
Motivation
-----------

This change aims to make it easier to manage tsconfig.
This intend to leave to create "ideal" rules about TypeScript's type checking.

Implementation
---------------

This change removes some duplicated rules defined in `@tsconfig/strictest` and add disabing some strict rules
that fails with the current codebase.
Diffstat (limited to 'editors/code/package-lock.json')
-rw-r--r--editors/code/package-lock.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json
index 5ba1a2f8e2c..f6dddb99eef 100644
--- a/editors/code/package-lock.json
+++ b/editors/code/package-lock.json
@@ -16,6 +16,7 @@
                 "vscode-languageclient": "^8.1.0"
             },
             "devDependencies": {
+                "@tsconfig/strictest": "^2.0.1",
                 "@types/node": "~16.11.7",
                 "@types/vscode": "~1.78.1",
                 "@typescript-eslint/eslint-plugin": "^5.60.1",
@@ -195,6 +196,12 @@
                 "node": ">= 6"
             }
         },
+        "node_modules/@tsconfig/strictest": {
+            "version": "2.0.1",
+            "resolved": "https://registry.npmjs.org/@tsconfig/strictest/-/strictest-2.0.1.tgz",
+            "integrity": "sha512-7JHHCbyCsGUxLd0pDbp24yz3zjxw2t673W5oAP6HCEdr/UUhaRhYd3SSnUsGCk+VnPVJVA4mXROzbhI+nyIk+w==",
+            "dev": true
+        },
         "node_modules/@types/json-schema": {
             "version": "7.0.12",
             "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz",