UNPKG

@aak.lear/eslint-config

Version:

This package simplifies the initial setup of eslint and prettier. It installs and apply eslint-config-airbnb to your project, also resolves peerDependencies that are required for eslint-config-airbnb package.

12 lines (9 loc) 240 B
import prompts from 'prompts'; export const getInstallConfirmation = async () => { const { isConfirmed } = await prompts({ type: 'confirm', name: 'isConfirmed', message: 'Start installation?', }); return isConfirmed; };