Changeset 26041
- Timestamp:
- 11/07/2013 09:14:49 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.jshintrc
r26025 r26041 4 4 "eqeqeq": true, 5 5 "eqnull": true, 6 "es3": true, 6 7 "expr": true, 7 8 "immed": true, 8 9 "noarg": true, 10 "onevar": true, 9 11 "quotmark": "single", 10 12 "smarttabs": true, … … 12 14 "undef": true, 13 15 "unused": true, 14 "es3": true,15 "onevar": true,16 16 17 17 "browser": true, 18 18 19 19 "globals": { 20 "_": false, 21 "Backbone": false, 20 22 "jQuery": false, 21 23 "wp": false -
trunk/Gruntfile.js
r25960 r26041 84 84 options: grunt.file.readJSON('.jshintrc'), 85 85 grunt: { 86 files: { 87 src: ['Gruntfile.js'] 88 }, 89 options: { 90 onevar: true 91 } 86 src: ['Gruntfile.js'] 92 87 }, 93 88 tests: { 94 files: { 95 src: [ 96 'tests/qunit/**/*.js', 97 '!tests/qunit/vendor/qunit.js' 98 ] 99 }, 89 src: [ 90 'tests/qunit/**/*.js', 91 '!tests/qunit/vendor/qunit.js' 92 ], 100 93 options: grunt.file.readJSON('tests/qunit/.jshintrc') 101 94 }, 102 'wp-admin': {103 files: {104 src: [105 'src/wp-admin/js/**/*.js',106 '!src/wp-admin/js/farbtastic.js',107 '!src/wp-admin/js/iris.min.js'108 ]109 }110 },111 'wp-includes': {112 files: {113 src: [114 'src/wp-includes/js/**/*.js',115 // 3rd-Party Scripts116 '!src/wp-includes/js/backbone.min.js',117 '!src/wp-includes/js/colorpicker.js',118 '!src/wp-includes/js/crop/**/*.js',119 '!src/wp-includes/js/hoverIntent.js',120 '!src/wp-includes/js/imgareaselect/**/*.js',121 '!src/wp-includes/js/jcrop/**/*.js',122 '!src/wp-includes/js/jquery/**/*.js',123 '!src/wp-includes/js/json2.js',124 '!src/wp-includes/js/mediaelement/**/*.js',125 '!src/wp-includes/js/plupload/**/*.js',126 '!src/wp-includes/js/swfobject.js',127 '!src/wp-includes/js/swfupload/**/*.js',128 '!src/wp-includes/js/thickbox/**/*.js',129 '!src/wp-includes/js/tinymce/**/*.js',130 '!src/wp-includes/js/tw-sack.js',131 '!src/wp-includes/js/underscore.min.js',132 '!src/wp-includes/js/zxcvbn.min.js'133 ]95 core: { 96 expand: true, 97 cwd: SOURCE_DIR, 98 src: [ 99 'wp-admin/js/*.js', 100 'wp-includes/js/*.js', 101 // WordPress scripts inside directories 102 'wp-includes/js/jquery/jquery.table-hotkeys.js', 103 'wp-includes/js/mediaelement/wp-mediaelement.js', 104 'wp-includes/js/plupload/handlers.js', 105 'wp-includes/js/plupload/wp-plupload.js', 106 'wp-includes/js/tinymce/langs/wp-langs-en.js', 107 'wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js', 108 'wp-includes/js/tinymce/plugins/wp*/editor_plugin_src.js', 109 'wp-includes/js/tinymce/mark_loaded_src.js', 110 'wp-includes/js/tinymce/wp-tinymce-schema.js', 111 // Third party scripts 112 '!wp-admin/js/farbtastic.js', 113 '!wp-admin/js/iris.min.js', 114 '!wp-includes/js/backbone.min.js', 115 '!wp-includes/js/swfobject.js', 116 '!wp-includes/js/underscore.min.js', 117 '!wp-includes/js/zxcvbn.min.js', 118 '!wp-includes/js/colorpicker.js', 119 '!wp-includes/js/hoverIntent.js', 120 '!wp-includes/js/json2.js', 121 '!wp-includes/js/tw-sack.js' 122 ], 123 // Remove once other JSHint errors are resolved 124 options: { 125 curly: false, 126 eqeqeq: false 134 127 } 135 128 }
Note: See TracChangeset
for help on using the changeset viewer.