Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 2.25 KB

CONTRIBUTING.md

File metadata and controls

71 lines (46 loc) · 2.25 KB

Contributing to node-red-contrib-iiot-jwt

As in Node-RED we have some guidelines for the JWT contribution package. We welcome contributions, but request you follow these guidelines.

Coding rules

  1. Code for one another, and use tools to perform mechanical optimizations.
  2. Keep it simple; compactness != succinctness.
  3. Just because you can doesn’t mean you should.
  4. Utilize familiar paradigms and patterns.
  5. Consistency is king.
  6. Lay good foundations. Be mindful of evolutionary complexity.

Raising issues

Please raise any bug reports on the relevant project's issue tracker. Be sure to search the list to see if your issue has already been raised.

A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong.

Provide as much context as possible so we can try to recreate the issue. If possible, include the relevant part of your flow. To do this, select the relevant nodes, press Ctrl-E and copy the flow data from the Export dialog.

At a minimum, please include:

  • Version of node.js? (should be >= 16)

  • Version of Node-RED? (should be >= 3)

  • Version of node-red-contrib-bit? (should be >= 1)

  • What is your platform? (Linux, macOS, ...)

  • What does DEBUG=* node-red -v log? (log files are welcome)

Feature requests

For feature requests, please raise them on the relevant project's issue tracker.

Pull-Requests

If you want to raise a pull-request with a new feature, or a refactoring of existing code, it may well get rejected if you haven't discussed it on the relevant project's issue tracker first.

Coding standards

Please ensure you follow the coding standards used through-out the existing code base.

Some basic rules include:

  • all files must have the MIT license in the header.
  • indent with 2-spaces, no tabs. No arguments.
  • follow ES6 or above coding standards
  • follow standard.js coding standards

Update

Upgrade

Return of Code Investment

Please, make pull requests! If you are not sure how to do this, then ask for help please! It is open source to collaborate and to give some return of investment with your code.