mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore(package) scripts: add prefix lint:js to js linters
This commit is contained in:
parent
56999599ed
commit
1dfee4eac7
1 changed files with 7 additions and 8 deletions
15
package.json
15
package.json
|
|
@ -50,14 +50,13 @@
|
|||
"lint": "redrun lint:*",
|
||||
"lint:css": "recess css/*.css",
|
||||
"lint:style": "stylelint css/*.css",
|
||||
"lint:js": "redrun jshint jscs eslint:*",
|
||||
"eslint:server": "eslint --rule 'no-console:0' bin test server webpack.config.js",
|
||||
"fix:eslint:server": "redrun eslint:server -- --fix",
|
||||
"jshint": "jshint bin client server",
|
||||
"jscs": "jscs --esnext $npm_package_config_dirs",
|
||||
"jshint:client": "jshint --config .es5/.jshintrc $npm_package_config_dirs_dirs_legacy --exclude bin/release.js",
|
||||
"eslint:client": "eslint --rule 'no-console:0' --env browser client",
|
||||
"fix:eslint": "redrun eslint:client -- --fix",
|
||||
"lint:js": "redrun lint:js:*",
|
||||
"lint:js:eslint:server": "eslint --rule 'no-console:0' bin test server webpack.config.js",
|
||||
"lint:js:jshint": "jshint bin client server",
|
||||
"lint:js:jscs": "jscs --esnext $npm_package_config_dirs",
|
||||
"lint:js:eslint:client": "eslint --rule 'no-console:0' --env browser client",
|
||||
"fix:js:eslint:client": "redrun eslint:client -- --fix",
|
||||
"fix:js:eslint:server": "redrun eslint:server -- --fix",
|
||||
"test": "tape 'test/**/*.js'",
|
||||
"spell": "yaspeller .",
|
||||
"wisdom": "npm run build; npm run docker:rm-old; bin/release.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue