htdocs: move .jshint.rc to package.json.
This commit is contained in:
parent
dd4bbebe45
commit
fddb5ee556
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"bitwise": true,
|
|
||||||
"boss": true,
|
|
||||||
"browser": false,
|
|
||||||
"camelcase": true,
|
|
||||||
"curly": true,
|
|
||||||
"eqeqeq": true,
|
|
||||||
"indent": 4,
|
|
||||||
"latedef": true,
|
|
||||||
"multistr": true,
|
|
||||||
"noarg": true,
|
|
||||||
"node": true,
|
|
||||||
"noempty": true,
|
|
||||||
"plusplus": false,
|
|
||||||
"quotmark": "double",
|
|
||||||
"regexp": true,
|
|
||||||
"shelljs": true,
|
|
||||||
"strict": false,
|
|
||||||
"trailing": true,
|
|
||||||
"unused": true
|
|
||||||
}
|
|
|
@ -21,10 +21,31 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"clean-css": "~1.0.12",
|
"clean-css": "~1.0.12",
|
||||||
"csslint": "~0.9.10",
|
"csslint": "~0.9.10",
|
||||||
"jshint": "~2.1.5",
|
"jshint": "~2.1.9",
|
||||||
"shelljs": "~0.1.4",
|
"shelljs": "~0.1.4",
|
||||||
"uglify-js": "~2.3.6"
|
"uglify-js": "~2.3.6"
|
||||||
},
|
},
|
||||||
|
"jshintConfig": {
|
||||||
|
"bitwise": true,
|
||||||
|
"boss": true,
|
||||||
|
"browser": false,
|
||||||
|
"camelcase": true,
|
||||||
|
"curly": true,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"indent": 4,
|
||||||
|
"latedef": true,
|
||||||
|
"multistr": true,
|
||||||
|
"noarg": true,
|
||||||
|
"node": true,
|
||||||
|
"noempty": true,
|
||||||
|
"plusplus": false,
|
||||||
|
"quotmark": "double",
|
||||||
|
"regexp": true,
|
||||||
|
"shelljs": true,
|
||||||
|
"strict": false,
|
||||||
|
"trailing": true,
|
||||||
|
"unused": true
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "~0.8.0"
|
"node": "~0.8.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue