Showing 7 of 20 total issues
Function createNextJsApp
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createNextJsApp = async (context: IMainState) => {
const { isCypress } = await prompt({
name: 'isCypress',
type: 'list',
message: 'Do you want to use cypress?',
Function createReactApp
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createReactApp = async (context: IMainState) => {
const { isCypress } = await prompt({
name: 'isCypress',
type: 'list',
message: 'Do you want to use cypress?',
Function initGatsby
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const initGatsby = async (context: IContext) => {
await shell.execWithSpinner(
`npx gatsby new ${context.projectFolder}`,
'[gatsby] initialize',
)
Function addEslint
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const addEslint = async (context: IContext) => {
const lintTs = 'eslint --ext .ts,.tsx src'
await json.update('package.json')(
{
Function createNestJsApp
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createNestJsApp = async (context: IMainState) => {
const { databaseType } = await prompt({
name: 'databaseType',
type: 'list',
message: 'Do you want to use database?',
Function addCypress
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const addCypress = async (context: IContext) => {
const { ciType } = await prompt({
name: 'ciType',
type: 'list',
message: 'Do you want to generate CI configuration for cypress?',
Function initNestJsApp
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const initNestJsApp = async (context: IContext) => {
await shell.execWithSpinner(
`npx nest new ${context.projectFolder} --package-manager yarn`,
'[nest.js] initialize',
)