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

Unified Diff: README.md

Issue 29544671: Issue 5509 - add ESLint config (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Sept. 14, 2017, 12:25 p.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') | lib/.eslintrc.json » ('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 8a47060f6599d8ab44df55057af5cb416843aecf..e5bab293cbde8f5b082377735fdee5efc58f4de9 100644
--- a/README.md
+++ b/README.md
@@ -270,3 +270,14 @@ Let's say that v8 is stored in `libadblockplus/v8-bins`.
[ANDROID_NDK_ROOT=....] make [android_...] LIBV8_LIB_DIR=../v8-bins/libs LIBV8_INCLUDE_DIR=../v8-bins/include
The rest is the same.
+
+Linting
+-------
+
+You can lint the code using [ESLint](http://eslint.org).
+
+ npm run eslint
+
+In order to set up ESLint and
+[configuration eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-config-eyeo) you need [Node.js 7 or higher](https://nodejs.org/) and once it is installed please run `npm install` in the repository directory.
+
« no previous file with comments | « .hgignore ('k') | lib/.eslintrc.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld