'use strict'
+const log = require('fancy-log')
const { obj: map } = require('through2')
const PluginError = require('plugin-error')
const prettierEslint = require('prettier-eslint')
.concat(' file')
.concat(report.unchanged === 1 ? '' : 's')
.concat(' unchanged')
- console.log(`prettier-eslint: ${changed}; ${unchanged}`)
+ log(`prettier-eslint: ${changed}; ${unchanged}`)
} else {
- console.log(`prettier-eslint: left ${report.unchanged} file${report.unchanged === 1 ? '' : 's'} unchanged`)
+ log(`prettier-eslint: left ${report.unchanged} file${report.unchanged === 1 ? '' : 's'} unchanged`)
}
})
"eslint-plugin-node": "~11.1",
"eslint-plugin-promise": "~4.2",
"eslint-plugin-standard": "~4.0",
+ "fancy-log": "~1.3",
"fs-extra": "~8.1",
"gulp": "~4.0",
"gulp-concat": "~2.6",