summaryrefslogtreecommitdiffstats
path: root/testing/marionette/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/marionette/.eslintrc.js')
-rw-r--r--testing/marionette/.eslintrc.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/marionette/.eslintrc.js b/testing/marionette/.eslintrc.js
new file mode 100644
index 0000000000..43fe24f843
--- /dev/null
+++ b/testing/marionette/.eslintrc.js
@@ -0,0 +1,16 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+"use strict";
+
+// inherits from ../../tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
+
+module.exports = {
+ rules: {
+ camelcase: ["error", { properties: "never" }],
+ "no-fallthrough": "error",
+ "no-undef-init": "error",
+ "no-var": "error",
+ },
+};