Unverified Commit 58a79e34 authored by Katie Byers's avatar Katie Byers Committed by GitHub

add linting instructions (#30123)

parent 0ac0b3f1
...@@ -21,4 +21,4 @@ Choose the right checklist for the change that you're making: ...@@ -21,4 +21,4 @@ Choose the right checklist for the change that you're making:
## Documentation / Examples ## Documentation / Examples
- [ ] Make sure the linting passes - [ ] Make sure the linting passes by running `yarn lint`
...@@ -72,7 +72,7 @@ If you would like to run the tests in headless mode (with the browser windows hi ...@@ -72,7 +72,7 @@ If you would like to run the tests in headless mode (with the browser windows hi
yarn testheadless yarn testheadless
``` ```
Running a specific test suite inside of the `test/integration` directory: Running a specific test suite (e.g. `production`) inside of the `test/integration` directory:
```sh ```sh
yarn testonly --testPathPattern "production" yarn testonly --testPathPattern "production"
...@@ -84,7 +84,21 @@ Running one test in the `production` test suite: ...@@ -84,7 +84,21 @@ Running one test in the `production` test suite:
yarn testonly --testPathPattern "production" -t "should allow etag header support" yarn testonly --testPathPattern "production" -t "should allow etag header support"
``` ```
### Running the integration apps ### Linting
To check the formatting of your code:
```sh
yarn lint
```
If you get errors, you can fix them with:
```sh
yarn lint-fix
```
### Running the example apps
Running examples can be done with: Running examples can be done with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment