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

add prettier-eslint to prettier org #758

Closed
kentcdodds opened this issue Feb 21, 2017 · 23 comments
Closed

add prettier-eslint to prettier org #758

kentcdodds opened this issue Feb 21, 2017 · 23 comments
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. status:needs discussion Issues needing discussion and a decision to be made before action can be taken

Comments

@kentcdodds
Copy link
Member

@jlongster and I talked about this on twitter and he said it's something y'all would consider. The use case for prettier-eslint is for people who want to benefit from the advanced formatting capabilities in addition to the configuration/formatting of eslint. This is not 100% stylistic, but most of the time it is. Situations for that include preference differences and/or challenge convincing a team of developers to adopt prettier wholesale. Also, ESlint is capable of auto-formatting/fixing more than prettier, so even if you have the same style as prettier (or disable style roles altogether) this puts the two automatic fix/formatting together in a single workflow.

I think it'd be valuable to include this (and potentially the associated CLI and Atom plugin) in the org.

@vjeux
Copy link
Contributor

vjeux commented Feb 21, 2017

I think that it's actually going to be the main way people integrate prettier into their stack, so it makes sense to me to include inside of the prettier org if you want to!

@jlongster
Copy link
Member

I'm fine with it too! My only concern is the naming of all these projects. We have prettier-eslint, eslint-config-prettier, and eslint-plugin-prettier, in addition to any editor-specific integrations (prettier-eslint-atom, prettier-atom). Maybe this is just part of this kind of work and combining all the tooling is going to make a lot of similar names.

It would be good at least to have a list of all these projects and a short explanation of what each does.

But yeah, let's get it in here. How do we do that? Do we need to create teams and such and add @kentcdodds to one of them so he can move it here?

@kentcdodds
Copy link
Member Author

I agree the use cases should be spelled out well. A list of them all together with short use case explications would be good. Then each project should do a good job describing its use case in its own documentation, and probably reference the other packages too

@vjeux vjeux added the status:needs discussion Issues needing discussion and a decision to be made before action can be taken label Feb 21, 2017
@lydell
Copy link
Member

lydell commented Feb 21, 2017

(Note that ESLint requires a certain naming convention for its shareable configs and plugins: eslint-config-foo and eslint-plugin-foo.)

@kentcdodds
Copy link
Member Author

@lydell, I'm aware of that. prettier-eslint is neither a config nor a plugin.

@lydell
Copy link
Member

lydell commented Feb 21, 2017

@kentcdodds My comment was more directed at @jlongster :)

@jlongster
Copy link
Member

Thanks!

Just gotta figure out all the logistics. Sorry I haven't had a block of time to figure this out yet. I may be able to research that later today (if any of you have recommendations for how to setup teams, etc, I'm all ears!)

@not-an-aardvark
Copy link
Member

By the way, I can also transfer eslint-plugin-prettier to the prettier org -- just let me know when all the logistics are figured out.

@kentcdodds
Copy link
Member Author

I think teams can be challenging to manage and you can simply as contributors on specific repositories within and organization. So once I transfer prettier-eslint over, I believe you just need to add me as a contributor with admin access and I can continue to manage contributors as in doing now. Sound good?

@jlongster
Copy link
Member

We can try that, I will make sure this happens today. I thought there were some things that admin contributors can't do, and I'd like to give you full control over the repo. But I guess I we can try it and see if that works.

@kentcdodds Want to go ahead and start the transfer? I know you're merging with prettier-atom, which repo are you all merging on?

@kentcdodds
Copy link
Member Author

Here's what I got when I tried. Looks like I need to be on the org first.

screen shot 2017-02-27 at 10 07 37 am

I know you're merging with prettier-atom, which repo are you all merging on?

@robwise can speak to that more. He's going to be taking over the atom plugin. I'm thinking it'd be best for us to just converge on prettier-atom and I'll deprecate my old package as soon as it supports prettier-eslint.

@robwise
Copy link

robwise commented Feb 27, 2017

(Just to be clear to others reading this, there are two things, prettier-eslint and prettier-eslint-atom.)

I'm thinking we should merge prettier-eslint-atom into the prettier-atom repo, which I'm currently helping maintain. Once we've done that, @kentcdodds can deprecate prettier-eslint-atom and have all users migrate over to prettier-atom. This way, if you're an atom user, there's one package to worry about regardless if you use eslint or not and it's simple both for the users and the maintainers.

I've gone ahead and already merged the prettier-eslint-atom code into the prettier-atom repo in a local branch and am most of the way done—I just need to implement some Jest testing. Then I was hoping @jlongster could transfer ownership of that repo so that I could manage things like CI and other integrations and I would be held responsible for maintaining it (fixing bugs, reviewing PRs, organizing and answering issues).

@jlongster
Copy link
Member

@kentcdodds @robwise Just added both of you to the org. You should be able to create repos, which I assume means you can transfer repos in as well. Let me know if it doesn't work!

@kentcdodds
Copy link
Member Author

Moved. I'll move the CLI too, thanks!

@jlongster
Copy link
Member

Awesome, closing!

@kentcdodds
Copy link
Member Author

Any chance I could get admin rights on those two repos? There's still not a lot of activity from the perspective of people reviewing PRs and I'm unable to push to master (it's protected) or merge PRs without another reviewer. I'd like to be able to have more control until there's more contribution activity.

@kentcdodds
Copy link
Member Author

For example, I couldn't push this to master and I can't merge this: prettier/prettier-eslint-cli#33

@jlongster
Copy link
Member

@kentcdodds done, let me know if there's anything else blocking you. I'm happy to add you to anything.

@lydell
Copy link
Member

lydell commented Feb 28, 2017

@jlongster If you do the same things you did to @kentcdodds to me I could transfer eslint-config-prettier :)

@jlongster
Copy link
Member

@lydell of course! I'll add you now

robwise added a commit to prettier/prettier-atom that referenced this issue Mar 4, 2017
As discussed in:
- #57
- kentcdodds/prettier-eslint-atom#28
- prettier/prettier#758

This commit completely refactors the repo. We now allow using
prettier-eslint as an option so that you do not need to install
a separate plugin (prettier-eslint-atom).

Under the hood, almost all of the code has been refactored and
covered by Jest integration tests. We also implement Babel and
many of the devops/build configurations that Kent Dodds authored
in the prettier-eslint-atom repo.

Resolves #57
robwise added a commit to prettier/prettier-atom that referenced this issue Mar 4, 2017
As discussed in:
- #57
- kentcdodds/prettier-eslint-atom#28
- prettier/prettier#758

This commit completely refactors the repo. We now allow using
prettier-eslint as an option so that you do not need to install
a separate plugin (prettier-eslint-atom).

Under the hood, almost all of the code has been refactored and
covered by Jest integration tests. We also implement Babel and
many of the devops/build configurations that Kent Dodds authored
in the prettier-eslint-atom repo.

Resolves #57
@robwise
Copy link

robwise commented Mar 4, 2017

@jlongster I have a PR open with the integration (just need to do some manual acceptance testing). Any word on doing the same stuff for that repo so that I can add CI/DependenciesAutomation/CodeCoverage etc.?

prettier/prettier-atom#61

@not-an-aardvark
Copy link
Member

Would it be useful if I transferred eslint-plugin-prettier to the prettier organization?

@lydell
Copy link
Member

lydell commented Mar 5, 2017

@not-an-aardvark I think so, at least! 👍

@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jul 8, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. status:needs discussion Issues needing discussion and a decision to be made before action can be taken
Projects
None yet
Development

No branches or pull requests

6 participants