Skip to content

Commit

Permalink
feat: format more files with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed May 1, 2019
1 parent 5482f61 commit 1f6a16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ async function main(): Promise<void> {
scripts: {
...(hasTests ? { test: 'nyc mocha' } : {}),
'semantic-release': 'semantic-release',
prettier: "prettier '**/{*.{js?(on),ts?(x),scss},.*.js?(on)}' --write --list-different",
prettier: "prettier '**/*.{js?(on),ts?(x),scss,md,yml}' --write --list-different",
'prettier-check': 'npm run prettier -- --write=false',
tslint: "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './*.ts?(x)'",
build: 'tsc -p .',
Expand Down Expand Up @@ -395,7 +395,7 @@ async function main(): Promise<void> {
}

console.log('💄 Prettifying')
await exec('node_modules/.bin/prettier', ['**/{*.{js?(on),ts?(x),md},.*.js?(on)}', '--write'])
await exec('node_modules/.bin/prettier', ['**/*.{js?(on),ts?(x),md,yml}}', '--write'])
console.log('✨ Done')

setTimeout(() => process.exit(0), 100)
Expand Down

0 comments on commit 1f6a16e

Please sign in to comment.