hovancik/BSDSec

View on GitHub

Showing 2 of 209 total issues

Function exports has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(api) {
var validEnv = ['development', 'test', 'production']
var currentEnv = api.env()
var isDevelopmentEnv = api.env('development')
var isProductionEnv = api.env('production')
Severity: Major
Found in babel.config.js - About 2 hrs to fix

    Method process has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def process
    case email_list_address
    when ENV.fetch("TEST_EMAIL")
    create_article("Test")
    when "announce@openbsd.org"
    Severity: Minor
    Found in app/mailboxes/bsdsec_mailbox.rb - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language