UNPKG

zenith-gen

Version:

A CLI tool designed to streamline the creation of projects within the Zenith Inova ecosystem, providing optimized configurations and modern development tools.

9 lines (7 loc) 363 B
import fs from 'fs-extra'; import path from 'path'; import { prettierConfig, prettierIgnore } from '../templates/prettier.config'; export function configurePrettier(projectPath: string): void { fs.writeFileSync(path.join(projectPath, '.prettierrc'), prettierConfig); fs.writeFileSync(path.join(projectPath, '.prettierignore'), prettierIgnore); }