eslint plugin mdx:用于MDX的ESLint插件 源码
eslint-plugin-mdx 该存储库不再维护,并且eslint-plugin-mdx名称已转移到 。 用于解析器 安装 带yarn : yarn add eslint-plugin-mdx 使用npm : npm install --save eslint-plugin-mdx 用法 在您的ESLint配置文件中,添加: { " extends " : [ " plugin:mdx/recommended " ] } 确保ESLint知道可以在.mdx文件上运行: eslint --ext js,mdx .
下载地址
用户评论