OLD | NEW |
1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox | 1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox |
2 ========================================================== | 2 ========================================================== |
3 | 3 |
4 This repository contains the platform-specific Adblock Plus source code for | 4 This repository contains the platform-specific Adblock Plus source code for |
5 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build | 5 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build |
6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted | 6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted |
7 from other repositories automatically (see _dependencies_ file). | 7 from other repositories automatically (see _dependencies_ file). |
8 | 8 |
9 Note that the Firefox extension built from this repository is the new | 9 Note that the Firefox extension built from this repository is the new |
10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). | 10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 location.href = "qunit/index.html"; | 86 location.href = "qunit/index.html"; |
87 | 87 |
88 The unit tests will run automatically once the page loads. | 88 The unit tests will run automatically once the page loads. |
89 | 89 |
90 Linting | 90 Linting |
91 ------- | 91 ------- |
92 | 92 |
93 You can lint the code using [ESLint](http://eslint.org). | 93 You can lint the code using [ESLint](http://eslint.org). |
94 | 94 |
95 eslint *.js lib/ qunit/ ext/ chrome/ | 95 npm run eslint |
96 | 96 |
97 You will need to set up ESLint and our configuration first, see | 97 You will need to run at first |
98 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) | 98 |
99 for more information. | 99 npm install |
OLD | NEW |