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, "debug" : false,
"devel" : true, "devel" : true,
"es5" : true, "strict" : true,
"strict" : false,
"globalstrict" : true, "globalstrict" : true,
"asi" : false, "asi" : false,
@ -56,5 +55,7 @@
"sub" : false, "sub" : false,
"trailing" : true, "trailing" : true,
"white" : 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' 'src/jquery.mousewheel.js'
] ]
} }
}, }
}, },
jshint: { jshint: {
gruntfile: { gruntfile: {
@ -47,7 +47,7 @@ module.exports = function (grunt) {
strict: { strict: {
options: { options: {
csslintrc: '.csslintrc', csslintrc: '.csslintrc',
import: 2 'import': 2
}, },
src: ['src/perfect-scrollbar.css'] src: ['src/perfect-scrollbar.css']
} }

View File

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