@berun/runner-prettier
Version:
BeRun runner to add prettier configuration
15 lines (13 loc) • 325 B
text/typescript
import Berun from '@berun/berun'
export default (berun: Berun, _) => {
berun.prettier.files
.add(
'{,!(node_modules|dist|build)/**/}*.{js,jsx,ts,tsx,css,less,scss,sass,graphql,json,md}'
)
.end()
.ignorePath('.gitignore')
.write(true)
.noConfig(true)
.semi(false)
.singleQuote(true)
}