Skip to content

Added configFile option #35

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

Merged
merged 1 commit into from
Oct 29, 2020
Merged

Added configFile option #35

merged 1 commit into from
Oct 29, 2020

Conversation

glook
Copy link
Contributor

@glook glook commented Aug 17, 2020

No description provided.

src/index.js Outdated
@@ -36,6 +36,11 @@ const schema = {
"Validate generated `*.d.ts` files and fail if an update is needed (useful in CI). Defaults to `false`",
type: "boolean",
},
configFile: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest calling it prettierConfigFile to make it clear that it has nothing to do with the loader config. Or perhaps extending formatter to support objects, eg:

formatter: {
  type: 'prettier',
  configFile: './.prettierrc'
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, im rename it and update pull request soon

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Really sorry about the delay, I added the comment ages ago but forgot to submit the review.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Obi-Dann done

Copy link
Contributor

@Obi-Dann Obi-Dann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the PR, going to create a release shortly!

@Obi-Dann Obi-Dann merged commit 6201788 into TeamSupercell:master Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants