"eslint-config-standard": "^10.2.1", "eslint-friendly-formatter": "^3.0.0", "eslint-loader": "^3.0.0", "eslint-plugin-html": "^6.0.2", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.2.0", "eslint-plugin-promise": "^3.4.0", "eslint-plugin-standard": ...
"eslint": "^2.10.2", "eslint-friendly-formatter": "^2.0.5", "eslint-loader": "^1.3.0", "eslint-plugin-html": "^1.3.0", "eslint-config-standard": "^5.1.0", "eslint-plugin-promise": "^1.0.8", "eslint-plugin-standard": "^1.3.2", "eventsource-polyfill": "^0.9.6", ...
既然是版本冲突造成的,你可以尝试把 eslint-plugin-vue 降版本到 ^7.0.0 去,或者把 @vue/eslint-config-standard 升级到 ^7.0.0 去,比如(升级) "devDependencies": { "@vue/eslint-config-standard": "^7.0.0", "eslint-plugin-vue": "^8.0.3" } 具体如何决策,需要根据项目的实际情况,毕竟这里只考...
"stylelint-config-standard-scss": "^7.0.1", "stylelint-config-standard": "^33.0.0", "stylelint-config-standard-scss": "^10.0.0", "stylelint-order": "^6.0.3", "stylelint-prettier": "^3.0.0" } 5 changes: 2 additions & 3 deletions 5 internal/ts-config/package.json Original fi...
目测是eslint版本低的锅,得连续遇到的几个错都是版本不对的问题,索性就对着package.json,把设计的得都升级一遍喽。首先是eslint相关插件 npm i -D eslint@latest eslint-config-standard@latest eslint-friendly-formatter@latest eslint-loader@latest eslint-plugin-import@latest eslint-plugin-node@latest es...
"@vue/eslint-config-standard": "^5.1.2", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", ...
ESLint + Prettier 选择校验工具,这里选择 ESLint +Standard config ? Pick additional lint features: (*) Lint on save >(*) Lint and fix on commit 选择在什么时机下触发代码格式校验: Lint on save:每当保存文件的时候 Lint and fix on commit:每当执行git commit提交的时候 ...
//"@vue/eslint-config-standard":"^5.1.2",-"babel-eslint":"^10.1.0",//"eslint":"^6.7.2",//"eslint-plugin-import":"^2.20.2",-"eslint-plugin-node":"^11.1.0",-"eslint-plugin-promise":"^4.2.1",-"eslint-plugin-standard":"^4.0.0",-"eslint-plugin-vue":"^7.0.0-0"//...
npm add --dev @vue/eslint-config-standard @rushstack/eslint-patch Usage An example.eslintrc.cjs: require("@rushstack/eslint-patch/modern-module-resolution")module.exports={root:true,extends:['plugin:vue/vue3-essential','@vue/eslint-config-standard']} ...
1. ①选择 manually select feaures ②选择PWA ③选择eslint配置(Eslint +Standard config) ④下面的默认回车,然后保存。 #cd vue-pwa #npm run serve 1. 2. 下一章:VUE3 学习笔记(三)——Nodejs版本升级、降级与版本共存 作者:꧁执笔小白꧂