Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.84 KB

CONTRIBUTING.md

File metadata and controls

41 lines (24 loc) · 1.84 KB

Contributing to Xnova

Looking to contribute something to Xnova? Here's how you can help.

Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.

Code guidelines

HTML

Adhere to the Code Guide.

  • Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags).
  • Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via file://.
  • Use WAI-ARIA attributes in documentation examples to promote accessibility.

CSS

Adhere to the Code Guide.

JS

  • No semicolons (in client-side JS)
  • 2 spaces (no tabs)
  • strict mode
  • "Attractive"

Checking coding style

Run grunt test before committing to ensure your changes follow our coding standards.

License

By contributing your code, you agree to license your contribution under the GPLv3 License. By contributing to the documentation, you agree to license your contribution under the Creative Commons Attribution 3.0 Unported License.