Showing 2 of 216 total issues
Function optimizeImage
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async optimizeImage(
input: Input,
output: Output,
options: OptimizeOptions
): Promise<OptimizeResult[]> {
Function getResizeConfiguration
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected getResizeConfiguration(options?: ResizeOptions): ResolvedResizeOptions {
let defaults = {
jpg: {
force: false,
},