VSCode中配置ESLint 安装 VSCode中配置ESlint非常简单,只要安装ESLint插件即可。VSCode默认开启了eslint的配置。 详细内容请参考链接。 配置 选择Code -> Preferences -> User Settings,编写配置项"eslint.enable": true