243bd56f9d
This danger check utilises `yarn-deduplicate` in order to show duplicate dependencies in the yarn.lock dependency tree. Often when introducing new dependencies or updating existing ones, yarn does not seem to build the most optimal dependency tree. In order to prevent those unnecessary dependency updates we are nudging developers and maintainers to resolve these issues in MRs. Automating this with danger especially helps, as yarn.lock files are not that easy to review.
13 lines
684 B
Ruby
13 lines
684 B
Ruby
danger.import_plugin('danger/plugins/helper.rb')
|
|
danger.import_dangerfile(path: 'danger/metadata')
|
|
danger.import_dangerfile(path: 'danger/changes_size')
|
|
danger.import_dangerfile(path: 'danger/changelog')
|
|
danger.import_dangerfile(path: 'danger/specs')
|
|
danger.import_dangerfile(path: 'danger/gemfile')
|
|
danger.import_dangerfile(path: 'danger/database')
|
|
danger.import_dangerfile(path: 'danger/documentation')
|
|
danger.import_dangerfile(path: 'danger/frozen_string')
|
|
danger.import_dangerfile(path: 'danger/commit_messages')
|
|
danger.import_dangerfile(path: 'danger/duplicate_yarn_dependencies')
|
|
danger.import_dangerfile(path: 'danger/prettier')
|
|
danger.import_dangerfile(path: 'danger/eslint')
|