qiwi/semantic-release-gh-pages-plugin

View on GitHub

Showing 1 of 1 total issue

Function resolveConfig has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const resolveConfig = async (pluginConfig: TAnyMap, context: TContext, path = PLUGIN_PATH, step?: string): Promise<IGhpagesPluginConfig> => {
  const opts = resolveOptions(pluginConfig, context, path, step)
  const {
    branches = opts._branches,
    branch = DEFAULT_BRANCH,
Severity: Minor
Found in src/main/ts/config.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language