chiiya/shion

View on GitHub

Showing 2 of 216 total issues

Function optimizeImage has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public async optimizeImage(
    input: Input,
    output: Output,
    options: OptimizeOptions
  ): Promise<OptimizeResult[]> {
Severity: Minor
Found in src/processor.ts - About 1 hr to fix

    Function getResizeConfiguration has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      protected getResizeConfiguration(options?: ResizeOptions): ResolvedResizeOptions {
        let defaults = {
          jpg: {
            force: false,
          },
    Severity: Minor
    Found in src/shion.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language