【文件属性】:
文件名称:danger-plugin-lint-report
文件大小:320KB
文件格式:ZIP
更新时间:2021-03-15 20:15:15
android-lint checkstyle danger swiftlint danger-plugin
危险插件皮棉报告
该插件读取checkstyle / lint报告,并将问题和违规作为内联注释发布在拉取请求中。
在GitHub拉取请求中以内联注释形式发布的问题的屏幕截图:
要求
该插件不执行任何linter。
相反,该插件将根据指定的文件掩码在文件树中搜索lint报告并对其进行解析。
该插件需要带有文件掩码的配置对象来搜索XML报告。
支持的报告
如果遇到缺少的格式,请随时添加请求请求或打开附带示例报告的问题。
Checkstyle 4.3
Checkstyle 8.0
Android Lint(格式5)
用法
安装:
yarn add danger-plugin-lint-report --dev
乍看上去:
// dangerfile.js
import { schedule } from 'danger'
const reporter = require (
【文件预览】:
danger-plugin-lint-report-main
----.github()
--------workflows()
----yarn.lock(335KB)
----src()
--------report()
--------index.ts(2KB)
--------violation.ts(204B)
--------checkstyleconfig.ts(700B)
--------parse()
--------file()
--------filediff.ts(62B)
--------index.test.ts(3KB)
----.npmignore(102B)
----CONTRIBUTING.md(512B)
----tsconfig.json(459B)
----LICENSE.md(1KB)
----tslint.json(579B)
----README.md(3KB)
----screenshots()
--------screenshot-inline-comment.png(84KB)
----.editorconfig(188B)
----CODE_OF_CONDUCT.md(3KB)
----.gitignore(1KB)
----CHANGELOG.md(667B)
----package-lock.json(449KB)
----package.json(2KB)