chore: more ESM, linting

This commit is contained in:
Elliot DeNolf
2024-03-25 20:35:48 -04:00
parent 921c53f75c
commit 0651daa1d4
3 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import slugify from '@sindresorhus/slugify' import slugify from '@sindresorhus/slugify'
import arg from 'arg' import arg from 'arg'
import commandExists from 'command-exists' import commandExists from 'command-exists'

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import chalk from 'chalk' import chalk from 'chalk'
import figures from 'figures' import figures from 'figures'

View File

@@ -3,9 +3,9 @@ import figures from 'figures'
import path from 'path' import path from 'path'
import terminalLink from 'terminal-link' import terminalLink from 'terminal-link'
import type { ProjectTemplate } from '../types' import type { ProjectTemplate } from '../types.js'
import { getValidTemplates } from '../lib/templates' import { getValidTemplates } from '../lib/templates.js'
const header = (message: string): string => `${chalk.yellow(figures.star)} ${chalk.bold(message)}` const header = (message: string): string => `${chalk.yellow(figures.star)} ${chalk.bold(message)}`