Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier: support for specified files and glob mode #438

Merged
merged 6 commits into from May 25, 2019

Conversation

3 participants
@axetroy
Copy link
Contributor

commented May 23, 2019

close #424

Thanks to @dshubhadeep for #433

support specified files mix with glob

> deno run prettier/main.ts script1.ts script2.ts **/**/test.ts

This allows to directly specify a file to be formatted.

Before

> deno run prettier/main.ts test.ts
Formatting test.ts
Formatting fs/test.ts
Formatting fs/copy_test.ts
Formatting fs/empty_test.ts
...

After

only format the test.ts

> deno run prettier/main.ts test.ts
Formatting test.ts

/cc @kt3k

axetroy added some commits May 23, 2019

Show resolved Hide resolved prettier/main.ts Outdated
Show resolved Hide resolved prettier/main.ts Outdated
@kt3k

This comment has been minimized.

Copy link
Contributor

commented May 25, 2019

otherwise looks good to me.

axetroy added some commits May 25, 2019

@ry

ry approved these changes May 25, 2019

Copy link
Contributor

left a comment

LGTM

@ry ry merged commit 1083db1 into denoland:master May 25, 2019

5 checks passed

denoland.deno_std Build #20190525.4 succeeded
Details
denoland.deno_std (Linux) Linux succeeded
Details
denoland.deno_std (Mac) Mac succeeded
Details
denoland.deno_std (Windows) Windows succeeded
Details
license/cla Contributor License Agreement is signed.
Details

@axetroy axetroy deleted the axetroy:prettier branch May 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.