polygerrit-ui/README: lint against currently checked out branch

Change-Id: I8924d990cff1e2511c8c8437d20e5226c0d8b373
This commit is contained in:
Han-Wen Nienhuys
2020-03-25 16:48:08 +01:00
parent 813951ffd4
commit 0857104e3e

View File

@@ -201,7 +201,7 @@ node_modules/eslint/bin/eslint.js --ext .html,.js polygerrit-ui/app/$YOUR_DIR_HE
* To run the linter on all of your local changes:
```sh
git diff --name-only master | xargs node_modules/eslint/bin/eslint.js --ext .html,.js
git diff --name-only HEAD | xargs node_modules/eslint/bin/eslint.js --ext .html,.js
```
We also use the `polylint` tool to lint use of Polymer. To install polylint,