about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorDavid Lattimore <dml@google.com>2020-07-25 09:35:33 +1000
committerDavid Lattimore <dml@google.com>2020-07-25 09:35:33 +1000
commit7d80a49e8956d13151b7db2d15b779e4015f25db (patch)
tree94aeb34db96e48f94eb83904d2fdafe7d51541ab /docs/dev
parent0a4e90c0f855df29eb60445bf68ab959c59914ed (diff)
downloadrust-7d80a49e8956d13151b7db2d15b779e4015f25db.tar.gz
rust-7d80a49e8956d13151b7db2d15b779e4015f25db.zip
README: Add some instructions for running typescript tests and linter.
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md
index 2bb2f75bdf2..417352c9ddc 100644
--- a/docs/dev/README.md
+++ b/docs/dev/README.md
@@ -369,6 +369,16 @@ env UPDATE_EXPECT=1 cargo qt
 
 After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above.
 
+## TypeScript Tests
+
+If you change files under `editors/code` and would like to run the tests and linter, install npm and run:
+
+```bash
+cd editors/code
+npm ci
+npm run lint
+```
+
 # Logging
 
 Logging is done by both rust-analyzer and VS Code, so it might be tricky to