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: Addressed Wladimir's comments Created March 8, 2017, 12:28 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 | « .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..8c22ead70a2524221e256f3921081bf96c86a834
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,19 @@
+{
+ "extends": "eslint-config-eyeo",
+ "root": true,
+ "rules": {
+ "arrow-parens": ["error", "as-needed"]
+ },
+ "env": {
+ "commonjs": true
+ },
+ "globals": {
+ "atob": true,
+ "onShutdown": true,
+ "Cc": true,
+ "Ci": true,
+ "Cu": true,
+ "URL": true,
+ "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