Skip to content

Commit 04ddd08

Browse files
committed
Update linting_static_analysis.md
1 parent eee620f commit 04ddd08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_docs/developer/testing/linting_static_analysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@ Alternatively, you can run eslint on your host system or on vagrant by navigatin
137137
directory and running:
138138

139139
```bash
140-
npm run eslint
140+
npx eslint
141141
```
142142

143143
To have eslint attempt to automatically fix any detected problems:
144144

145145
```bash
146-
npm run eslint:fix
146+
npx eslint:fix
147147
```
148148

149149
If you wish to lint or fix a specific file, you will need to run the eslint executable directly,

0 commit comments

Comments
 (0)