//–save-dev 会把 eslint 安装到 package.json 文件中的 devDependencies 属性中,仅开发时用到,生产不需要 npm install eslint --save-dev //https://eslint.bootcss.com/docs/user-guide/getting-started
‘module’ is not defined,解决:打开.eslintrc.js
"env": { "browser": true, "es2021": true, "node": true, },
Parsing error: '>' expected.eslint,解决:打开.eslintrc.js
parser: "vue-eslint-parser", parserOptions: { parser: "@typescript-eslint/parser", },
标签:uniapp,typescript,parser,vs,code,eslint,pinia,true From: https://www.cnblogs.com/anech/p/16873279.html