modules/utils/logger.js
Function setup
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.setup = function(options) {
const logFolder = options.logFolder;
const level = options.logLevel || 'info';
const config = {
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
import log4js from 'log4js';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/