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

Unified Diff: .eslintrc.json

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
« no previous file with comments | « .eslintignore ('k') | README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .eslintrc.json
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000000000000000000000000000000000000..894fda25270f2eb020bd19f76ea6d6f7825598dd
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,23 @@
+{
+ "extends": "eslint-config-eyeo",
+ "root": true,
+ "env": {
+ "shared-node-browser": true
Wladimir Palant 2017/02/21 11:54:02 There is some context missing here, why not common
kzar 2017/02/23 10:53:55 Yep, using commonjs objects to unused global varia
Wladimir Palant 2017/03/02 14:06:41 That's correct, this should be removed - I think U
kzar 2017/03/08 12:33:24 Done.
+ },
+ "globals": {
+ "atob": true,
+ "exports": true,
+ "module": true,
+ "onShutdown": true,
+ "require": true,
+ "Buffer": true,
Wladimir Palant 2017/02/21 11:54:02 This is wrong, Buffer isn't part of our usual envi
kzar 2017/02/23 10:53:55 Done.
+ "Cc": true,
+ "Ci": true,
+ "Cu": true,
+ "FileUtils": true,
+ "Services": true,
+ "URL": true,
+ "XPCOMUtils": true,
Wladimir Palant 2017/02/21 11:54:02 Rather than declaring FileUtils, Services and XPCO
kzar 2017/02/23 10:53:55 I'd rather do this afterwards as a separate change
Wladimir Palant 2017/03/02 14:06:41 File an issue?
kzar 2017/03/08 12:33:24 Why not, done it after all. (See corresponding cha
+ "XMLHttpRequest": true
+ }
+}
« no previous file with comments | « .eslintignore ('k') | README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld