polygerrit-ui/README: lint against currently checked out branch
Change-Id: I8924d990cff1e2511c8c8437d20e5226c0d8b373
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user