diff --git a/.jshintignore b/.jshintignore new file mode 100644 index 0000000..8e10f1a --- /dev/null +++ b/.jshintignore @@ -0,0 +1,17 @@ +core/misc/backbone +core/misc/ckeditor +core/misc/create +core/misc/farbtastic +core/misc/html5.js +core/misc/jquery.ba-bbq.js +core/misc/jquery.form.js +core/misc/jquery.js +core/misc/jquery.once.js +core/misc/modernizr +core/misc/normalize +core/misc/ui +core/misc/underscore +core/misc/vie +core/modules/tour/js/jquery.joyride-2.0.3.js +core/vendor +sites/*/files diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..3460a97 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,22 @@ +{ + "browser" : true, + "curly" : true, + "eqeqeq" : true, + "expr" : true, + "forin" : true, + "latedef" : true, + "newcap" : true, + "noarg" : true, + "trailing" : true, + "undef" : true, + "predef" : [ + "Drupal", + "drupalSettings", + "jQuery", + "_", + "matchMedia", + "Backbone", + "VIE", + "CKEDITOR" + ] +}