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

Unified Diff: README.md

Issue 29375915: Issue 4878 - Start using ESLint for adblockpluscore (Closed)
Patch Set: Disable no-console for the tests Created Feb. 21, 2017, 11:25 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
« .eslintrc.json ('K') | « .eslintrc.json ('k') | lib/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index b1a0ca8268335a375a6d126ee64f1dda4471532d..e807b0ae30bbe74d22a96e6f5527484a03f05538 100644
--- a/README.md
+++ b/README.md
@@ -31,3 +31,14 @@ The tests under `test/browser` require a browser environment. `npm test` will
run these in a headless browser, but you can also run them in a real one by
opening
[test/browser/elemHideEmulation.html](test/browser/elemHideEmulation.html).
+
+Linting
+-------
+
+You can lint the code using [ESLint](http://eslint.org).
+
+ eslint *.js chrome lib test
+
+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.
« .eslintrc.json ('K') | « .eslintrc.json ('k') | lib/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld