Gatsby插件添加ESLint支持
该插件为盖茨比开发环境添加ESLint支持,能够在开发过程中提高代码质量。当前版本^3.0.0更新较大,建议使用eslint-webpack-plugin替代eslint-loader安装,具体命令为npm install --save-dev gatsby-plugin-eslint eslint-webpack-plugin或者yarn add --dev gatsby-plugin-eslint eslint-webpack-plugin。不建议使用版本<= 2.0.8(带有eslint-loader的Gatsby V2)。安装gatsby-plugin-eslint插件的方法为:npm install --save-dev gatsby-plugin-eslint@^2.0.8或者yarn add --dev g。
35.42KB
文件大小:
评论区