summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/.jshintrc
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-03-03 16:18:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-09 14:33:54 +0000
commit0fa38bb8e17f4b56ad25a92123c5ce9894ffa85a (patch)
tree33e478d570ac2b4e7c51f565da2781c1a77ee13d /bitbake/lib/toaster/toastergui/static/js/.jshintrc
parent41ebd5105b5727bbc63a1bf6d288e0dc48862eed (diff)
downloadpoky-0fa38bb8e17f4b56ad25a92123c5ce9894ffa85a.tar.gz
bitbake: toaster: libtoaster Fix a few warnings picked up by jshint
Fix warnings and items that do not conform to strict. Also add a fairly lenient jshintrc. usage: jshint js_file (Bitbake rev: 93a1e05a5d6bd19e689126bfef0df8caa0d8bf34) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/.jshintrc')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/.jshintrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/.jshintrc b/bitbake/lib/toaster/toastergui/static/js/.jshintrc
new file mode 100644
index 0000000000..b02f3efa1c
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/static/js/.jshintrc
@@ -0,0 +1,11 @@
1{
2 "curly" : false,
3 "predef" : [ "$","libtoaster", "prettyPrint" ],
4 "eqnull": true,
5 "plusplus" : false,
6 "browser" : true,
7 "jquery" : true,
8 "devel" : true,
9 "unused" : true,
10 "maxerr" : 60
11}