【文件属性】:
文件名称:prettier-eslint-webpack-plugin:用于prettier-eslint的Webpack插件,其ESLint的设置被设置为JavaScript标准样式
文件大小:32KB
文件格式:ZIP
更新时间:2021-02-05 07:38:23
eslint webpack-plugin prettier webpack2 ESLintJavaScript
漂亮的Eslint Webpack插件
Webpack 2. *用于
已淘汰
没什么可看的了:)
安装
yarn add prettier-eslint-webpack-plugin --dev
选件
编码(?String)
读取/写入文件时使用的编码
默认值: “ utf-8”
扩展名(?Array)
仅处理这些文件扩展名
默认值: ['。js','.jsx']
...此外,还公开了整个API:
filePath(?String)
格式化文件的路径可用于覆盖eslintConfig(eslint将用于查找文件的相关配置)。
默认值: undefined
eslintConfig(?
【文件预览】:
prettier-eslint-webpack-plugin-master
----yarn.lock(103KB)
----.babelrc(37B)
----__tests__()
--------index.js(2KB)
----README.md(3KB)
----.gitignore(33B)
----index.js(3KB)
----package.json(899B)