-
Notifications
You must be signed in to change notification settings - Fork 47
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
Improve Composer configuration and support. #128
Conversation
- Adds more detail to the `composer.json` configuration file. - Sets the indent style for `composer.json` to tabs (matches other 10up plugins).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank @kopepasah for the PR. I suggest some minor modification, otherwise, this looks good.
.editorconfig
Outdated
indent_style = tab | ||
indent_size = 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For files which is not php/css/js, we should use 2 spaces indent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simply followed what already existed in another 10up plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the plugin you refered to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description of the Change
composer.json
configuration file.composer.json
to tabs (matches other 10up plugins).Alternate Designs
None.
Benefits
Better information and integration when using plugin with Composer.
Possible Drawbacks
None.
Verification Process
Successfully ran the installer (albeit with the
--ignore-platform-reqs
flag).Checklist:
My change requires a change to the documentation.I have updated the documentation accordingly.I have added tests to cover my change.All new and existing tests passed.