摘要: 安装 安装eslint yarn add eslint --dev 初始化配置文件 yarn create @eslint/config 选择你喜欢的使用模式 How would you like to use ESLint? To check syntax only 仅仅检查语法 > To che 阅读全文
posted @ 2022-04-07 13:59 丁少华 阅读(229) 评论(0) 推荐(0)
摘要: 选择代码检测和格式化方案 选择Linter / Formatter配置: 选项: ESLint with error prevention only // 仅错误预防 ESLint + Airbnb config // Airbnb配置 ESLint + Standard config // 标准配 阅读全文
posted @ 2022-04-07 11:33 丁少华 阅读(2993) 评论(0) 推荐(0)