Skip to content

Commit ed5d865

Browse files
committed
Add instructions to run lint fix in README
1 parent 39a15f4 commit ed5d865

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,17 @@ the `pdfjs-dist` name. For more information and examples please refer to the
111111
+ Start the docker container with `mutagen-compose up pdfjs`
112112
+ Access server at `http://localhost:8888/web/viewer.html`
113113

114+
## Lint
115+
+ To fix lint errors, run the following commands:
116+
117+
``` bash
118+
mutagen-compose run pdfjs bash
119+
```
120+
121+
``` bash
122+
npx gulp lint --fix
123+
```
124+
114125
## Including via a CDN
115126

116127
PDF.js is hosted on several free CDNs:

0 commit comments

Comments
 (0)