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,
|
"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
|
||||||
}
|
}
|
||||||
|
@ -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']
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user