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

Export as preset instead of plugin #20

Merged
merged 1 commit into from
Mar 29, 2016

Conversation

ruimarinho
Copy link
Contributor

  • Removed babel as only tests could potentially benefit from transpiling.
  • Cleaned up tests.
  • Tidied up package.json.

By the way, it looks like even thought jscs-config-* is supported, the jscs community is leaning towards jscs-preset-*.

Might help with #8.

Closes #2.

"should": "^7.1.0"
},
"peerDependencies": {
"jscs": ">= 2.5",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think jscs should also be included here. I know peerDependencies are controversial, but the user must get warned about this kind of stuff, and this is pretty much useless without jscs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree with you on principle, but the fact that npm@3 still handles peerDependencies in a very disturbing way makes me prefer not keeping this here as I don't think anyone will be using a jscs preset without jscs installed. Not even the owner of the project does that - https://github.com/mrjoelkemp/jscs-preset-mrjoelkemp/blob/master/package.json.

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we can still keep it as part of the installation command at least. Let's move on.

@ruimarinho
Copy link
Contributor Author

Can this be merged @ruiquelhas?

@ruimarinho
Copy link
Contributor Author

ping @ruiquelhas

@ruiquelhas ruiquelhas merged commit af4092a into master Mar 29, 2016
@ruiquelhas ruiquelhas deleted the enhancement/export-as-preset branch March 29, 2016 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants