Skip to content

Commit

Permalink
Run prettier on project.
Browse files Browse the repository at this point in the history
  • Loading branch information
geekiam23 committed Aug 8, 2023
1 parent 21771f1 commit c974078
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/eslint.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default function runEslint() {
console.log("ESLint!");
console.log('ESLint!');
}
20 changes: 20 additions & 0 deletions src/util/getPackageManager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { select } from '@inquirer/prompts';

export default async function pickPackageManager() {
const packageManager = await select({
message: 'Preferred package manager',
choices: [
{
name: 'yarn',
value: 'yarn',
},
{
name: 'npm',
value: 'npm',
},
],
});

console.log(packageManager);
return packageManager;
}

0 comments on commit c974078

Please sign in to comment.