Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
johnenvpath opened this issue Feb 13, 2019 · 0 comments
Open

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

johnenvpath opened this issue Feb 13, 2019 · 0 comments

Comments

@johnenvpath
Copy link

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

btsow@0.0.1 postinstall G:\Program Files\BTSOW-dev
npm run lint:fix

btsow@0.0.1 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! btsow@0.0.1 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 btsow@0.0.1 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! btsow@0.0.1 postinstall: npm run lint:fix
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the btsow@0.0.1 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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant