Ticket #25187: 25187.12.diff
File 25187.12.diff, 1.3 KB (added by , 11 years ago) |
---|
-
.jshintrc
3 3 "curly": true, 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, 11 13 "trailing": 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 22 24 } -
Gruntfile.js
85 85 grunt: { 86 86 files: { 87 87 src: ['Gruntfile.js'] 88 },89 options: {90 onevar: true91 88 } 92 89 }, 93 90 tests: { … … 106 103 '!src/wp-admin/js/farbtastic.js', 107 104 '!src/wp-admin/js/iris.min.js' 108 105 ] 106 }, 107 // Remove once other JSHint errors are resolved 108 options: { 109 curly: false, 110 eqeqeq: false 109 111 } 110 112 }, 111 113 'wp-includes': { … … 131 133 '!src/wp-includes/js/underscore.min.js', 132 134 '!src/wp-includes/js/zxcvbn.min.js' 133 135 ] 136 }, 137 // Remove once other JSHint errors are resolved 138 options: { 139 curly: false, 140 eqeqeq: false 134 141 } 135 142 } 136 143 },