question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Community Maintainer Guidelines

See original GitHub issue

If we’re going to start having more people involved in Jimp’s development, it probably behooves the community to have clear answers for common questions like:

  • If I have a question, what do I need to do to get an answer?
  • When can an issue / PR be closed?
  • When making pull requests, what are code style and syntax guidelines to follow (there are several active issues about ES2015 / typescript / .editorconfig / coffeescript right now)
  • What are the testing requirements for PR’s to be merged
  • Automated testing?
  • Jimp conventions & clear development priorities
  • Running list of bugs to be fixed and desired features for development

Additionally I think some conventions might be useful. For example, I think we’re starting to have a need for “optional” parameters to be passed into some Jimp function, and other Jimp functions which accept so many parameters that having them in a specified order becomes confusing. Mrdoob of threejs draws the line at three, but the terrific work in https://github.com/oliver-moran/jimp/pull/191/files implements a function with seven:

Jimp.prototype.composite = function (src, x, y, mode, opacitySource, opacityDest, cb)

Should that be this instead?

Jimp.prototype.composite = function (src, options, cb)

where options is an object with defaults like:

{
   x: 0,
   y: 0,
   mode: Jimp.BLEND_SOURCE_OVER,
   opacitySource: 1,
   opacityDest: 1
}

?

All just food for thought.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
iwsfgcommented, Feb 15, 2017

Perhaps, I should be more clear. That was in regard of npm://standard. I don’t like the way it’s being presented. There’s no standard guideline. The fact that Isaac and some other guy on the web like that particular code style doesn’t make it standard. The fact they have fancy name for their package doesn’t make it standard either.

We have configured ESLint on test branch though, it works just fine and doesn’t require existing code style to be changed all that much. And existing code is pretty consistent in its style too, so why change?

0reactions
iwsfgcommented, Feb 15, 2017

“standard” style guideline

No thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices for Maintainers
Best Practices for Maintainers. Making your life easier as an open source maintainer, from documenting processes to leveraging your community.
Read more >
Maintainer responsibilities
Build a healthy community to increase the number of active contributors and maintainers around collections. Revise these guidelines to improve the maintainer ......
Read more >
Maintainer Guidelines
The Maintainer Onboarding curriculum contains some guidelines for how to respond to community-submitted issues. How to Get Help . There are many...
Read more >
Welcome to the Maintainer Community - The Carpentries
Keep language motivating. Meet learners where they are. Emphasise the importance of continued learning and improvement. Maintainer Guidelines. You can find more ...
Read more >
OASIS TC Open Repositories: Maintainers' Guidelines and ...
Maintainers should also be skillful negotiators and mediators, capable of moving past community dissent to embrace compromises that empower and motivate all ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found