waysact/webpack-subresource-integrity

View on GitHub

Showing 2 of 2 total issues

File unit.test.ts has 261 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Copyright (c) 2015-present, Waysact Pty Ltd
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
Severity: Minor
Found in webpack-subresource-integrity/src/__tests__/unit.test.ts - About 2 hrs to fix

    Function updateAsset has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      compilation: Compilation,
      assetPath: string,
      source: sources.Source,
      integrity: string,
      onUpdate: (assetInfo: AssetInfo) => void
    Severity: Minor
    Found in webpack-subresource-integrity/src/util.ts - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language