Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Create helper to get all changed filesleipert-danger-fix-moved-files | Lukas Eipert | 2018-10-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Danger apparently has three different objects which could contain files you often want to check: - git.added_files - git.modified_files - git.renamed_files The problem: If a file is renamed, `modified_files` contains the file path before the rename. In some Danger checks we use `added_files` + `modified_files`, which might contain the deleted paths of renamed files, but missing the new paths of renamed files. So we need to consider `renamed_files` as well. | ||||
* | Danger check for unprettified JavaScript | Lukas Eipert | 2018-09-28 | 1 | -0/+39 |
This adds a Dangerfile which executes `prettier` to find out if someone touched Frontend files and forgot to run it on their current branch. |