jcbantuelle/dominion-meteor

View on GitHub
app/cards/renaissance/projects/sinister_plot.js

Summary

Maintainability
A
1 hr
Test Coverage

Function start_turn_event has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  start_turn_event(game, player_cards, sinister_plot) {
    game.log.push(`<strong>${player_cards.username}</strong> resolves ${CardView.render(sinister_plot)}`)

    let turn_event_id = TurnEventModel.insert({
      game_id: game._id,
Severity: Minor
Found in app/cards/renaissance/projects/sinister_plot.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status