-
Notifications
You must be signed in to change notification settings - Fork 13
JavaScript Code Guidelines
Johan Bové edited this page Aug 12, 2015
·
3 revisions
We need to agree to coding standards if we want to bring the current code base up to modern standards. Therefore I would like to propose the following rules:
-
All code needs to be passed through a linter
Preferably JSLint; As this will help tracking down bugs and helps us to write cleaner, more maintainable code. - Enforce the Google JavaScript Code Guidelines
- Apply
"use strict";
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
- Brackets
http://brackets.io/
/*jslint browser: true, plusplus: true, nomen: true, white: false, continue: true */
/*global $, console, jqPlot */
- Editor standards and settings for Brackets.
- Contributor guidelines using a "CONTRIBUTE" file.
- BarRenderer
- BezierCurveRenderer
- BlockRenderer
- BubbleRenderer
- DonutRenderer
- GaugeRenderer
- LineRenderer
- PieRenderer
- PyramidRenderer
- Category
- Date
- Numbers
- Date