LEFT | RIGHT |
(no file at all) | |
1 Adblock Plus core | 1 Adblock Plus core |
2 ================= | 2 ================= |
3 | 3 |
4 This repository contains the generic Adblock Plus code that's shared between | 4 This repository contains the generic Adblock Plus code that's shared between |
5 platforms. This repository is not designed to be used directly, but instead to | 5 platforms. This repository is not designed to be used directly, but instead to |
6 serve as a dependency for `adblockplus`, `adblockpluschrome` and | 6 serve as a dependency for `adblockplus`, `adblockpluschrome` and |
7 `libadblockplus`. | 7 `libadblockplus`. |
8 | 8 |
9 Resources | 9 Resources |
10 --------- | 10 --------- |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 `<root>/{chromium|firefox}-snapshots`. You can specify the caching folder with | 76 `<root>/{chromium|firefox}-snapshots`. You can specify the caching folder with |
77 the environment variable `BROWSER_SNAPSHOT_DIR`: | 77 the environment variable `BROWSER_SNAPSHOT_DIR`: |
78 | 78 |
79 $ export BROWSER_SNAPSHOT_DIR="~/snapshots" | 79 $ export BROWSER_SNAPSHOT_DIR="~/snapshots" |
80 | 80 |
81 Please note, that said folder needs to exist beforehand. | 81 Please note, that said folder needs to exist beforehand. |
82 | 82 |
83 Linting | 83 Linting |
84 ------- | 84 ------- |
85 | 85 |
86 You can lint the code using [ESLint](http://eslint.org). | 86 You can lint the code using [ESLint](http://eslint.org) by running `npm run lint
`. |
87 | |
88 eslint *.js chrome lib test | |
89 | |
90 You will need to set up ESLint and our configuration first, see | |
91 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) | |
92 for more information. | |
LEFT | RIGHT |