Update jshintrc.
Added strict, laxcomma and camelcase options. Removed the es5 option.
This commit is contained in:
parent
cf8cea8b13
commit
be5e338869
@ -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
|
||||
}
|
||||
|
@ -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']
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user