emmercm/metalsmith-plugins

View on GitHub
packages/metalsmith-html-unused/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function resources has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

...metalsmith.match(defaultedOptions.html, Object.keys(files)).map((filename) => {
debug('finding resources in file: %s', filename);
 
const file = files[filename];
 
 
Severity: Minor
Found in packages/metalsmith-html-unused/index.ts - About 1 hr to fix
    Category
    Status