├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Steven Deutsch 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # awesome-danger 2 | 3 |

4 | 5 | 6 |
An awesome list of all things Danger 7 |

8 | 9 | 10 | ## What is Danger? 11 | 12 | [Danger](https://github.com/danger/danger) runs after your CI, automating your team's conventions surrounding code review. 13 | 14 | This provides another logical step in your process, through this Danger can help lint your rote tasks in daily code review. 15 | 16 | You can use Danger to codify your teams norms, leaving humans to think about harder problems. 17 | 18 | ## Plugins 19 | 20 | ### Ruby (danger) 21 | - [danger-ruby-swiftlint](https://github.com/ashfurrow/danger-ruby-swiftlint) - A Danger plugin for SwiftLint. 22 | - [danger-xcode_summary](https://github.com/diogot/danger-xcode_summary) - A Danger plugin showing all build errors, warnings and unit tests results from xcodebuild. 23 | - [danger-xcov](https://github.com/nakiostudio/danger-xcov) - Danger plugin to validate the code coverage of the files changed in a pull request. 24 | - [danger-mention](https://github.com/danger/danger-mention) - Danger plugin to automatically mention potential reviewers on pull requests. 25 | - [danger-xcprofiler](https://github.com/giginet/danger-xcprofiler) - Danger plugin for asserting Swift compilation time. 26 | - [danger-prose](https://github.com/dbgrandi/danger-prose) - Danger plugin to lint your blog posts with proselint. 27 | - [danger-junit](https://github.com/orta/danger-junit) - Lets you report your test suite problems back to the PR elegantly. 28 | - [danger-commit_lint](https://github.com/jonallured/danger-commit_lint) - Use Danger to lint your commit messages. 29 | - [danger-code_style_validation](https://github.com/flix-tech/danger-code_style_validation) - Danger plugin for code style validation based on clang-format. 30 | - [danger-rubocop](https://github.com/ashfurrow/danger-rubocop) - Danger plugin for Rubocop. 31 | - [danger-ktlint](https://github.com/mataku/danger-ktlint) - A Danger Plugin to lint kotlin files using [ktlint](https://github.com/pinterest/ktlint) command line interface. 32 | - [danger-kotlin_detekt](https://github.com/NFesquet/danger-kotlin_detekt) - Detekt files of a gradle based project, using [Detekt](https://github.com/arturbosch/detekt) tool. 33 | - [danger-android_lint](https://github.com/loadsmart/danger-android_lint) - A Danger plugin for Android Lint. 34 | - [danger-changelog](https://github.com/dblock/danger-changelog) - A plugin that is OCD about your CHANGELOG format. 35 | - [danger-lgtm](https://github.com/leonhartX/danger-lgtm) - Let Danger say LGTM! 36 | - [Danger-Slather](https://github.com/BrunoMazzo/Danger-Slather) - Danger plugin for Slather framework. 37 | - [danger-pronto](https://github.com/RestlessThinker/danger-pronto) - A Danger plugin to lint files through Pronto. 38 | - [danger-xcodebuild](https://github.com/valeriomazzeo/danger-xcodebuild) - Exposes warnings, errors and test results. 39 | - [danger-synx](https://github.com/elpassion/danger-synx) - A Danger plugin for Synx. 40 | - [danger-clorox](https://github.com/barbosa/danger-clorox) - A Danger plugin for Clorox. 41 | - [danger-the_coding_love](https://github.com/valeriomazzeo/danger-the_coding_love) - Danger plugin that prints markdown containing a random post from [thecodinglove.com](http://thecodinglove.com) 42 | - [danger-pep8](https://github.com/loadsmart/danger-pep8) - A Danger plugin for Python's PEP 8. 43 | - [danger-checkstyle_format](https://github.com/noboru-i/danger-checkstyle_format) - Danger plugin for checkstyle formatted xml file. 44 | - [danger-findbugs](https://github.com/kazy1991/danger-findbugs) - Danger plugin for FindBugs formatted XML file. 45 | - [danger-spotbugs](https://github.com/mathroule/danger-spotbugs) - Danger plugin for SpotBugs formatted XML file. 46 | - [danger-pmd](https://github.com/mathroule/danger-pmd) - Danger plugin for PMD formatted XML file. 47 | - [danger-missed_localizable_strings](https://github.com/Antondomashnev/danger-missed_localizable_strings) - A Danger plugin to remind developers to localize strings. 48 | - [danger-todoist](https://github.com/hanneskaeufler/danger-todoist) - Danger plugin to look for todo/fixme comments in pull requests. 49 | - [danger-ios_logs](https://github.com/PGSSoft/danger-ios_logs) - Danger plugin to detect any NSLog/print entries left in the code. 50 | - [danger-hlint](https://github.com/blender/danger-hlint) - A Danger plugin for Hlint. 51 | - [danger-eslint](https://github.com/leonhartX/danger-eslint) - A Danger plugin for linting javascript with eslint. 52 | - [danger-jira](https://github.com/RestlessThinker/danger-jira) - Danger plugin to link JIRA issues in a pull request. 53 | - [danger-ruby-swiftformat](https://github.com/garriguv/danger-ruby-swiftformat) - A danger plugin to check Swift formatting using SwiftFormat. 54 | - [danger-vale](https://github.com/MatMoore/danger-vale) - Vale plugin for Danger. 55 | - [danger-slack](https://github.com/duck8823/danger-slack) - Post a notification to slack in a Dangerfile. 56 | - [danger-review_requests](https://github.com/m-nakamura145/danger-review_requests) - Danger plugin to request a review in pull requests. 57 | - [danger-brakeman](https://github.com/nakamurau1/danger-brakeman) - A Danger plugin for Brakeman. 58 | - [danger-go](https://github.com/KennethanCeyer/danger-go) - A Danger plugin for Golang. 59 | - [danger-rubyc](https://github.com/skatkov/danger-rubyc) - Danger plugin to validate syntax for Ruby files. 60 | - [danger-yamlint](https://github.com/skatkov/danger-yamlint) - A no-dependency Danger plugin to lint YAML files and fixtures. 61 | - [danger-periphery](https://github.com/manicmaniac/danger-periphery) - A Danger plugin to detect unused codes using Periphery. 62 | - [danger-danger_plugin_lint](https://github.com/manicmaniac/danger-danger_plugin_lint) - A Danger plugin to lint a danger plugin. 63 | - [danger-mailmap](https://github.com/manicmaniac/danger-mailmap) - A Danger plugin to check if .mailmap has a canonical name of author and committer. 64 | - [danger-chikuwa](https://github.com/watanavex/chikuwa) - A Danger Plugin for reporting Android build errors and warnings. 65 | - [danger-sarif](https://github.com/irgaly/danger-sarif) - Danger plugin for reporting SARIF file. 66 | - [danger-spm_version_updates](https://github.com/hbmartin/danger-spm_version_updates) - Danger plugin to report updates to Swift Package Manager dependencies. 67 | - [danger-shroud](https://github.com/livefront/danger-shroud) - A danger plugin for enforcing code coverage via a Jacoco coverage report. 68 | 69 | ### TypeScript (danger-js) 70 | - [danger-plugin-flow](https://github.com/withspectrum/danger-plugin-flow) - Ensure all JS files that get touched in a PR are flow typed. 71 | - [danger-plugin-labels](https://github.com/withspectrum/danger-plugin-labels) - Let any contributor add labels to their PRs and issues. 72 | - [danger-plugin-yarn](https://github.com/orta/danger-plugin-yarn) - Provides dependency information on dependency changes in a PR * 73 | - [danger-plugin-jest](https://github.com/macklinu/danger-plugin-jest) - Danger plugin for Jest. 74 | - [danger-plugin-spellcheck](https://github.com/orta/danger-plugin-spellcheck) - Spell checks .md files in a PR using node-markdown-spellcheck. 75 | - [danger-plugin-jira-issue](https://github.com/macklinu/danger-plugin-jira-issue) - Danger plugin to link JIRA issue in pull request. 76 | - [danger-plugin-istanbul-coverage](https://github.com/darcy-rayner/danger-plugin-istanbul-coverage) - Danger.js plugin for monitoring code coverage on changed files. 77 | - [danger-plugin-tslint](https://github.com/macklinu/danger-plugin-tslint) - Danger plugin for TSLint. 78 | - [dangerjs-plugin](https://github.com/indigotech/dangerjs-plugin) - Taqtile Danger-js Plugin. 79 | - [danger-plugin-mentor](https://github.com/hanneskaeufler/danger-plugin-mentor) - A Danger plugin to level up with each pull request. 80 | - [danger-plugin-eslint](https://github.com/danpalmer/danger-plugin-eslint) - Eslint your code with Danger. 81 | - [danger-plugin-textlint](https://github.com/okitan/danger-plugin-textlint) - Danger plugin for textlint. 82 | - [danger-plugin-xcode-report](https://github.com/stevethomp/danger-plugin-xcode-report) - Add your Xcode test results to Danger. 83 | - [danger-plugin-slack](https://github.com/julon/danger-plugin-slack) - DangerJS plugin to send report & message to Slack. 84 | - [danger-plugin-typetalk](https://github.com/is2ei/danger-plugin-typetalk) - DangerJS plugin to send report & message to Typetalk. 85 | - [danger-plugin-no-test-shortcuts](https://github.com/macklinu/danger-plugin-no-test-shortcuts) - Danger plugin to prevent merging test shortcuts (.only and .skip). 86 | - [danger-plugin-lint-report](https://github.com/damian-burke/danger-plugin-lint-report/) - A Danger Plugin to parse lint reports (checkstyle, Android lint) and post pull request comments. 87 | - [danger-plugin-pr-hygiene](https://github.com/maxdeviant/danger-plugin-pr-hygiene) - A Danger plugin for enforcing good PR hygiene. 88 | 89 | 90 | ### Swift (danger-swift) 91 | - [danger-swiftlint](https://github.com/ashfurrow/danger-swiftlint) - Automated Swift linting on pull requests. 92 | - [LGTMKit](https://github.com/d-date/LGTMKit) - Get LGTM image from lgtm.in, written by swift. 93 | - [danger-xiblint](https://github.com/sunshinejr/danger-xiblint) - [WIP] Xiblint plugin for Danger Swift 94 | - [danger-iblinter](https://github.com/IBDecodable/danger-iblinter) - [WIP] Automated IB linting on pull requests. 95 | - [danger-swift-xcodesummary](https://github.com/f-meloni/danger-swift-xcodesummary) - Adds build errors, warnings and unit tests results generated from xcodebuild to your Danger report 96 | - [danger-swift-coverage](https://github.com/f-meloni/danger-swift-coverage) - Show the coverage of the modified/created files 97 | - [DangerSwiftHammer](https://github.com/el-hoshino/DangerSwiftHammer) - A handy plugin to extend your DangerDSL abilities, like getting git diff patch for a file 98 | - [danger-swift-shoki](https://github.com/yumemi-inc/danger-swift-shoki/) - A danger-swift plug-in to manage/post danger checking reports with markdown style 99 | - [danger-swift-eda](https://github.com/yumemi-inc/danger-swift-eda/) - A danger-swift plug-in to check if the PR matches a specific workflow (e.g. Git-Flow) 100 | - [danger-swift-commit-lint](https://github.com/AppDifferentia/danger-swift-commit-lint) - A `danger-swift` commit linter 101 | - [danger-swift-jira](https://github.com/AppDifferentia/danger-swift-jira) - Show Jira issue on the pull request 102 | - [DangerSwiftJUnit](https://github.com/colinhumber/DangerSwiftJUnit) - Parses JUnit XML files and reports your test suite problems back to the PR. 103 | - [DangerSwiftPeriphery](https://github.com/taji-taji/DangerSwiftPeriphery) - A danger-swift plugin to detect unused codes using Periphery. 104 | - [danger-swift-kantoku](https://github.com/yumemi-inc/danger-swift-kantoku) - A danger-swift plug-in to parse your build result from .xcresult bundle instead of xcpretty-json-formatter, so you can rely on fewer Gem dependencies 105 | 106 | 107 | ### Kotlin (danger-kotlin) 108 | - [danger-kotlin-android-lint-plugin](https://github.com/gianluz/danger-kotlin-android-lint-plugin) - Show the android lint errors 109 | - [danger-kotlin-detekt](https://github.com/AckeeCZ/danger-kotlin-detekt) - Process outputs of detekt tool 110 | - [danger-detekt-kotlin](https://github.com/pavelkorolevxyz/danger-detekt-kotlin) - Parse and report detekt outputs in customizable manner 111 | - [danger-kotlin-commit-lint](https://github.com/AckeeCZ/danger-kotlin-commit-lint) - Lint the commit messages 112 | - [danger-kotlin-junit](https://github.com/AckeeCZ/danger-kotlin-junit) - Process junit reports 113 | - [danger-kotlin-jacoco](https://github.com/appsynth-org/danger-kotlin-jacoco) - Process JaCoCo code coverage reports 114 | 115 | ## Dangerfiles 116 | 117 | ### Ruby (danger) 118 | - https://github.com/SwifterSwift/SwifterSwift/blob/master/Dangerfile 119 | - https://github.com/IBAnimatable/IBAnimatable/blob/master/Dangerfile 120 | - https://github.com/CocoaPods/CocoaPods/blob/master/Dangerfile 121 | - https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/Dangerfile 122 | - https://github.com/pusher/chatkit-swift/blob/master/Dangerfile 123 | 124 | ### TypeScript (danger-js) 125 | - https://github.com/artsy/eigen/blob/main/dangerfile.ts 126 | - https://github.com/artsy/emission/blob/master/dangerfile.ts 127 | - https://github.com/artsy/energy/blob/main/dangerfile.ts 128 | - https://github.com/artsy/force/blob/main/dangerfile.ts 129 | 130 | ### Swift (danger-swift) 131 | - https://github.com/Moya/Moya/blob/master/Dangerfile.swift 132 | 133 | # Peril 134 | 135 | ## What is Peril? 136 | 137 | [Peril](https://github.com/danger/peril) is a tool that takes GitHub webhooks, and makes it easy to build one-off actions. It does this by having a per-account settings JSON, that connects JavaScript files to events from webhooks. 138 | 139 | So, for example, you can write a rule which runs when closing an issue in GitHub that looks for associated Jira tickets and resolves them. 140 | 141 | Peril provides no implicit actions like that, it instead offers a JavaScript runtime environment optimised to this domain so you can make actions to fit your needs. 142 | 143 | ## Peril Settings Repos 144 | 145 | ### Organizations 146 | - https://github.com/danger/peril-settings 147 | - https://github.com/artsy/peril-settings 148 | - https://github.com/CocoaPods/peril-settings 149 | - https://github.com/Moya/moya-peril 150 | - https://github.com/RxSwiftCommunity/peril 151 | - https://github.com/loadsmart/peril-staging-settings 152 | - https://github.com/wearereasonablepeople/peril-settings 153 | - https://github.com/wemake-services/kira-review 154 | 155 | ### Personal 156 | - https://github.com/ashfurrow/peril-settings 157 | - https://github.com/orta/peril-settings 158 | --------------------------------------------------------------------------------