BTSOW icon indicating copy to clipboard operation
BTSOW copied to clipboard

似乎是一个函数名首字母大小写不规范

Open johnenvpath opened this issue 7 years ago • 0 comments

G:\Program Files\BTSOW-dev>npm install

[email protected] postinstall G:\Program Files\BTSOW-dev npm run lint:fix

[email protected] lint:fix G:\Program Files\BTSOW-dev eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src

✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter src\main\module\BaiduYun.js:10:23 let pcs = new PCS['default'](PCS.create_username_password_jar_creator(usrName, passWord, ^

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/new-cap npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] lint:fix: eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] lint:fix script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\John Wayne\AppData\Roaming\npm-cache_logs\2019-02-13T03_36_31_137Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: npm run lint:fix npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\John Wayne\AppData\Roaming\npm-cache_logs\2019-02-13T03_36_31_174Z-debug.log

johnenvpath avatar Feb 13 '19 03:02 johnenvpath