Mithril.js: Run danger against PRs

Created on 7 Apr 2017  路  3Comments  路  Source: MithrilJS/mithril.js

I would like to implement http://danger.systems/ for mithril PRs.

image

They've got a nodejs version that I implemented against modular-css as an experiment, it's nice.

Here's my current list of ideas for checks:

  • 馃洃 PR targeting master instead of next
  • 馃洃 lint failures (since they don't fail the build)
  • 馃洃 o.only in a test
  • 鈿狅笍 Request a change-log.md entry for .js file changes
  • 鈿狅笍 Request a descriptor of the semver change required for the PR to land (if .js files changed)

Any other ideas? Anyone vehemently against this proposal?

Most helpful comment

I'm vehemently for this proposal

All 3 comments

I'm vehemently for this proposal

I like this proposal a lot myself. I'll note that the "use strict" requirement is already mandated by the ESLint settings, so making DangerCI check it is redundant.

@isiahmeadows fair, edited. I think the danger-style output is a lot nicer to read than eslint results though. Especially since lint failures don't fail the build.













yet.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pygy picture pygy  路  3Comments

marciomunhoz picture marciomunhoz  路  4Comments

millken picture millken  路  4Comments

isiahmeadows picture isiahmeadows  路  4Comments

andraaspar picture andraaspar  路  4Comments