eslint-format:使用ESLint格式化代码

时间:2021-03-04 06:48:44
【文件属性】:
文件名称:eslint-format:使用ESLint格式化代码
文件大小:78KB
文件格式:ZIP
更新时间:2021-03-04 06:48:44
JavaScript 附带格式 用于此格式插件提供了的接口。 它将与具有“ JavaScript”语法的文件一起使用。 安装 apm install eslint-format eslint-format将查找项目本地的eslint版本,并在可用的情况下使用它。 如果未找到,它将退回到其附带的版本。 可以说,您依赖于eslint的特定版本,也许它具有未发布的功能,也许它比eslint-format附带的版本新。 如果your-project/node_modules/eslint存在, eslint-format使用eslint-format 。 此封装需要eslint至少V1.0.0的。 请注意,您必须安装软件包或使用 任何软件包才能正常工作。 与插件一起使用 您有两种选择: 在本地安装到项目eslint和插件 $ npm i --save-dev eslint [eslint-plugins]
【文件预览】:
eslint-format-master
----.eslintrc.json(2KB)
----.gitattributes(14B)
----.github()
--------FUNDING.yml(65B)
--------workflows()
----lib()
--------worker.js(2KB)
--------eslint-format.js(3KB)
----spec()
--------fixtures()
--------helper.js(311B)
--------worker-spec.js(3KB)
--------eslint-format-spec.js(4KB)
----LICENSE(1KB)
----README.md(3KB)
----renovate.json(171B)
----semantic-release.sh(558B)
----.gitignore(907B)
----CHANGELOG.md(11KB)
----.eslintignore(14B)
----package-lock.json(327KB)
----package.json(952B)

网友评论