lib/compiler.js
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"
Parsing error: Unexpected token ) Open
Open
)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/