summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000000..a7a8862926
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,14 @@
+"use strict";
+
+module.exports = {
+ // When adding items to this file please check for effects on sub-directories.
+ "plugins": [
+ "mozilla"
+ ],
+ "rules": {
+ "mozilla/import-globals": "warn",
+ },
+ "env": {
+ "es6": true
+ },
+};