-
-
Notifications
You must be signed in to change notification settings - Fork 761
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
Community Maintainer Guidelines #223
Comments
Automated testing? Sure! On my ToDo to start and mandatory to all new PRs. I like that! |
If we're gonna have options objects we should probably provide extensive information for autocompletion engines. Does anyone know how many of those can use Maybe we wont even need documentation comments anymore. But in case we still do - we should probably normalize those and mention that in contributor guidelines. Right now most of pull requests comes with proper JSDoc3 annotations, while existing documentation comments written in some other format, which I don't recognize, and they don't provide any type information. I cant rewrite those into proper-ish JSDoc comments. |
We should follow a standard JavaScript style guideline to avoid conflicts, preferably http://standardjs.com/ |
No thanks. |
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? |
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:
.editorconfig
/ coffeescript right now)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:
Should that be this instead?
where
options
is an object with defaults like:?
All just food for thought.
The text was updated successfully, but these errors were encountered: