Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: README.md

Issue 29808587: Issue 6717 - Part 1: run eslint through npm (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Require eslint-config-eyeo 2.1.0 Created Aug. 14, 2018, 11:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .hgignore ('k') | ext/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
===================================================================
--- a/README.md
+++ b/README.md
@@ -87,13 +87,18 @@
The unit tests will run automatically once the page loads.
Linting
-------
You can lint the code using [ESLint](http://eslint.org).
- eslint *.js lib/ qunit/ ext/ chrome/
+You will need to setup first. This will install our configuration
+[eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-config-eyeo)
+and everything needed after you run:
-You will need to set up ESLint and our configuration first, see
-[eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-config-eyeo)
-for more information.
+ npm install
+
+Then you can run to lint the code:
+
+ npm run lint
+
« no previous file with comments | « .hgignore ('k') | ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld