Showing 4 of 10 total issues
Function compileTemplate
has 51 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
module.exports.compileTemplate = function compileTemplate(options, context, compilation) {
const compilerPath = getCompilerPath(options.statsFilename, compilation.outputOptions.path)
// The entry file is just an empty helper as the dynamic template
// require is added in "loader.js"
Function emitCacheInformationFile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function emitCacheInformationFile(loader, query, cacheFile, fileHash, iconResult) {
Function generateIcons
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function generateIcons(loader, imageFileStream, outputDir, originalQuery, callback) {
Function loadIconsFromDiskCache
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function loadIconsFromDiskCache(loader, query, cacheFile, fileHash, callback) {