src/util/logger.js
Function createLogger
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createLogger (options) {
if (!options.log) {
options.log = { level: 'info' };
}
if (!options.log.transports) {
Parsing error: Invalid ecmaVersion. Open
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/