mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(jshintrc) add legacy
This commit is contained in:
parent
8d9f15ca3e
commit
958cd9321a
4 changed files with 29 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"esnext": true,
|
||||
"unused" : true,
|
||||
"bitwise" : false,
|
||||
"browser" : true,
|
||||
|
|
|
|||
|
|
@ -9,3 +9,6 @@ test
|
|||
app.json
|
||||
circle.yml
|
||||
|
||||
bin/release.js
|
||||
legacy
|
||||
|
||||
|
|
|
|||
19
legacy/.jshintrc
Normal file
19
legacy/.jshintrc
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"unused" : true,
|
||||
"bitwise" : false,
|
||||
"browser" : true,
|
||||
"devel" : true,
|
||||
"eqeqeq" : true,
|
||||
"jquery" : false,
|
||||
"newcap" : false,
|
||||
"noarg" : true,
|
||||
"node" : true,
|
||||
"noempty" : true,
|
||||
"nonew" : true,
|
||||
"strict" : true,
|
||||
"undef" : true,
|
||||
"evil" : true,
|
||||
"expr" : true,
|
||||
"quotmark": "single",
|
||||
"validthis": true
|
||||
}
|
||||
|
|
@ -44,11 +44,15 @@
|
|||
"start": "node bin/cloudcmd.js",
|
||||
"start:dev": "nodemon bin/cloudcmd.js",
|
||||
"security": "nsp check",
|
||||
"codestyle": "redrun lint:* jscs spell",
|
||||
"codestyle": "redrun lint spell",
|
||||
"lint": "redrun lint:*",
|
||||
"lint:css": "recess css/*.css",
|
||||
"lint:style": "stylelint css/*.css",
|
||||
"lint:js": "jshint $npm_package_config_dirs",
|
||||
"lint:js": "redrun jshint jscs",
|
||||
"lint:js:legacy": "redrun legacy:*",
|
||||
"jshint": "jshint bin/release.js",
|
||||
"jscs": "jscs --esnext $npm_package_config_dirs",
|
||||
"legacy:jshint": "jshint --config legacy/.jshintrc $npm_package_config_dirs --exclude bin/release.js",
|
||||
"test": "tape test/**/*.js",
|
||||
"spell": "yaspeller .",
|
||||
"wisdom": "npm run docker:rm-old; bin/release.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue