mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Merge #5528
5528: README: Add some instructions for running typescript tests and linter. r=matklad a=davidlattimore Co-authored-by: David Lattimore <dml@google.com>
This commit is contained in:
commit
edcd0b1f62
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue