@langri-sha/projen-prettier
v0.4.0
Published
A [projen] component for configuring [Prettier].
Downloads
1
Readme
@langri-sha/projen-prettier
A projen component for configuring Prettier.
Usage
Install dependencies:
npm install -D projen @langri-sha/projen-prettier
Then, create an Prettier
component for your project:
import { Project } from 'projen'
import { License } from '@langri-sha/projen-prettier'
const project = new Project({
name: 'my-project',
})
new Prettier(project, {
filename: '',
spdx: 'MIT',
copyrightHolder: 'John Smith <[email protected]>',
copyrightYear: '2000',
})