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

Side by Side Diff: README.md

Issue 29375899: Issue 4871 - Start using ESLint for adblockplusui (Closed)
Patch Set: Avoid violating operator-linebreak rule Created March 15, 2017, 4:43 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .eslintrc.json ('k') | background.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Shared Adblock Plus UI code 1 Shared Adblock Plus UI code
2 =========================== 2 ===========================
3 3
4 The user interface elements defined in this repository will be used by various 4 The user interface elements defined in this repository will be used by various
5 Adblock Plus products like Adblock Plus for Firefox. Their functionality can be 5 Adblock Plus products like Adblock Plus for Firefox. Their functionality can be
6 tested within this repository, even though they might not work exactly the same 6 tested within this repository, even though they might not work exactly the same
7 as they will do in the final product. 7 as they will do in the final product.
8 8
9 Directory structure 9 Directory structure
10 ------------------- 10 -------------------
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 errors when adding new filters on the options page 87 errors when adding new filters on the options page
88 * `blockedURLs`: a comma-separated list of URLs that should be considered 88 * `blockedURLs`: a comma-separated list of URLs that should be considered
89 blocked (necessary to test the check for blocked scripts in sharing buttons). 89 blocked (necessary to test the check for blocked scripts in sharing buttons).
90 * `downloadStatus`: sets downloadStatus parameter for filter lists, can be used 90 * `downloadStatus`: sets downloadStatus parameter for filter lists, can be used
91 to trigger various filter list download errors 91 to trigger various filter list download errors
92 * `platform=chromium`: shows the opt-out for the developer tools panel 92 * `platform=chromium`: shows the opt-out for the developer tools panel
93 * `showNotificationUI=true`: simulates user having opted-out of notifications 93 * `showNotificationUI=true`: simulates user having opted-out of notifications
94 94
95 95
96 [crowdin]: https://crowdin.com 96 [crowdin]: https://crowdin.com
97
98 Linting
99 -------
100
101 You can lint the code using [ESLint](http://eslint.org).
102
103 eslint *.js lib ext
104
105 You will need to set up ESLint and our configuration first, see
106 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf ig-eyeo)
107 for more information.
OLDNEW
« no previous file with comments | « .eslintrc.json ('k') | background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld