Showing 3 of 7 total issues
Function prompting
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prompting() {
// Have Yeoman greet the user.
this.log(yosay(
'Welcome to the legendary ' + chalk.red('generator-postcss-plugin') + ' generator!'
));
Function writing
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
writing() {
// License file
const config = this.config.getAll();
const licenseFile = config.license + '.txt';
const noticeFile = config.license + '.notice.txt';
Function prompting
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prompting() {
const prompts = [
{
type: 'list',
name: 'license',