aboutsummaryrefslogtreecommitdiffstats
path: root/.jshintrc
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2014-03-03 20:03:27 +0100
committerJforrester <jforrester@wikimedia.org>2014-04-10 00:07:35 +0000
commit28cca609f5ebcdd17a0afbaf2b48da8945e4fc8a (patch)
treec105cbb8efa89744465ccfd883570cc77af7330d /.jshintrc
parent4c6940957a6d7dfddab0c5aeb9d2eeff4fd4ade3 (diff)
downloadmediawikicore-28cca609f5ebcdd17a0afbaf2b48da8945e4fc8a.tar.gz
mediawikicore-28cca609f5ebcdd17a0afbaf2b48da8945e4fc8a.zip
jshint: Enable 'es3' option
Syntax new in ES5 not supported in older browsers using ES3. * Trailing comma's in object and array literals. * References to properties with protected names. Disabled for some test files. Change-Id: I24a0d1677f887097065fab874fea15f3855a4f34
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.jshintrc b/.jshintrc
index 9d6c4d218052..4eec7a0eb82b 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -3,6 +3,7 @@
// Enforcing
"eqeqeq": true,
+ "es3": true,
"latedef": true,
"noarg": true,
"nonew": true,