A React-based component for viewing SARIF files.
Перейти к файлу
Jeff King fc5e450185 Remove DetailsList.setKey.
Causing extra renders and I seems like resultSorted is a reliable change indicator.
2019-03-20 16:47:20 -07:00
__mocks__ Import project. 2018-12-11 16:57:07 -08:00
components Remove DetailsList.setKey. 2019-03-20 16:47:20 -07:00
.gitignore Import project. 2018-12-11 16:57:07 -08:00
Index.tsx Allow externally injected area ('prefix') in ResultsBar. 2019-01-10 13:28:49 -08:00
LICENSE Initial commit 2018-12-06 11:01:13 -08:00
README.md Readme update. 2018-12-12 17:34:06 -08:00
jestSetup.js Import project. 2018-12-11 16:57:07 -08:00
package.json Rename package. 2019-01-10 13:27:35 -08:00
tsconfig.json Import project. 2018-12-11 16:57:07 -08:00
webpack.config.js Import project. 2018-12-11 16:57:07 -08:00

README.md

SARIF Web Component

A React-based component for viewing SARIF files. Try it out.

Usage

npm install @microsoft/sarif-web-component
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import {ResultsViewer} from 'sarifviewer/Index.tsx'

ReactDOM.render(<ResultsViewer sarif={yourSarifString} />, document.body.firstChild)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.