logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vscode的elsint配置报错“The setting is deprecated. Use editor.codeActionsOnSave instead with a source”

提示:The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member.意思是:此配置已作废,使用editor.codeActionsOnSave,里面配置source.fixAll.eslint 属性把"eslint.autoFixOnSave": true 改成:

vscode配制setting.json遇到“Auto Fix is enabled by default. Use the single string form.”报错

在vsCode 的setting.json中设置校验规则eslint 校验规则:"eslint.validate": ["javascript","javascriptreact","vue"{"language": "vue","autoFix": true}],以上设置出现黄色波浪线,提示‘Auto Fix is enabled by default. Use the single strin

nvm安装成功,但命令不可用(command not found: nvm)

Nvm安装成功后,使用nvm命令却提示command not found,mac终端解决办法如下:1、进入nvm安装到文件目录cd ~/.nvm2、查看目录下文件列表ls3、若无.bash_profile文件,则创建该文件:创建文件步骤:3.1 touch .bash_profile3.2 open .bash_profile3.3 将下部分文件粘贴至 .bash_profile文件 (路径名改为

++ i 和 i++区别

++n先自增再运算n++先运算再自增var a, i = 10;a = i ++; //这里i要先赋值,再自加。语句执行后a=10, i = 11;a = ++i; //这里i要先自加,再赋值。语句执行后a=11, i = 11;let i = 9;while( i ++ < 10){console.log(i)};// 9 ;先执行逻辑逻辑运算,再自增 i = 9 》 i< 10 》

到底了