Update jshintrc.

Added strict, laxcomma and camelcase options.
Removed the es5 option.
This commit is contained in:
Hyunje Alex Jun 2013-08-31 02:24:43 +09:00
parent cf8cea8b13
commit be5e338869
3 changed files with 7 additions and 5 deletions

View File

@ -22,8 +22,7 @@
"debug" : false,
"devel" : true,
"es5" : true,
"strict" : false,
"strict" : true,
"globalstrict" : true,
"asi" : false,
@ -56,5 +55,7 @@
"sub" : false,
"trailing" : true,
"white" : true,
"indent" : 2
"indent" : 2,
"laxcomma" : true,
"camelcase" : true
}

View File

@ -27,7 +27,7 @@ module.exports = function (grunt) {
'src/jquery.mousewheel.js'
]
}
},
}
},
jshint: {
gruntfile: {
@ -47,7 +47,7 @@ module.exports = function (grunt) {
strict: {
options: {
csslintrc: '.csslintrc',
import: 2
'import': 2
},
src: ['src/perfect-scrollbar.css']
}

View File

@ -1,6 +1,7 @@
/* Copyright (c) 2012 HyeonJe Jun (http://github.com/noraesae)
* Licensed under the MIT License
*/
'use strict';
((function ($) {
// The default settings for the plugin