summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Echo/.jshintrc')
-rw-r--r--Echo/.jshintrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/Echo/.jshintrc b/Echo/.jshintrc
new file mode 100644
index 00000000..dfe6f43b
--- /dev/null
+++ b/Echo/.jshintrc
@@ -0,0 +1,31 @@
+{
+ /* Common */
+
+ // Enforcing
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "noempty": true,
+ "nonew": true,
+ "quotmark": "single",
+ "trailing": true,
+ "undef": true,
+ "unused": true,
+ // Legacy
+ "onevar": true,
+
+ /* Local */
+
+ // Environment
+ "browser": true,
+
+ "predef": [
+ "jQuery",
+ "QUnit",
+ "mediaWiki"
+ ]
+}