summaryrefslogtreecommitdiff
path: root/extensions/TimedMediaHandler/.jshintrc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TimedMediaHandler/.jshintrc')
-rw-r--r--extensions/TimedMediaHandler/.jshintrc44
1 files changed, 44 insertions, 0 deletions
diff --git a/extensions/TimedMediaHandler/.jshintrc b/extensions/TimedMediaHandler/.jshintrc
new file mode 100644
index 00000000..ef363f81
--- /dev/null
+++ b/extensions/TimedMediaHandler/.jshintrc
@@ -0,0 +1,44 @@
+{
+ /* 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 */
+
+ // Enforcing
+ "bitwise": true,
+ "es3": true,
+ // Relaxing
+ "laxbreak": true,
+ "smarttabs": true,
+ "multistr": true,
+ // Environment
+ "browser": true,
+ // Legacy
+ "nomen": true,
+
+ "predef": [
+ "mediaWiki",
+ "mw",
+ "jQuery",
+ "OGVVersion",
+ "OGVSupport",
+ "OGVPlayer",
+ "OGVLoader"
+ ]
+}