jtblin/angular-chart.js

View on GitHub
.jshintrc

Summary

Maintainability
Test Coverage
{
  "strict"        : true,     // true: Requires all functions run in ES5 Strict Mode
  "undef"         : true,     // true: Require all non-global variables to be declared (prevents global leaks)
  "unused"        : true,     // true: Require all defined variables be used
  "noempty"       : true,     // Prohibit use of empty blocks
  "trailing"      : true,     // Prohibit trailing whitespaces.
  "white"         : false,    // Check against strict whitespace and indentation rules.
  "indent"        : 2,        // {int} Number of spaces to use for indentation
  "maxcomplexity" : 10,       // {int} Max number for cyclomatic complexity
  "maxdepth"      : 2,        // {int} Max number for nesting blocks
  "newcap"        : true,     // true: Require capitalization of all constructor functions e.g. `new F()`
  "quotmark"      : "single", // Quotation mark consistency
  "-W058"         : true,     // Missing '()' invoking a constructor
  "browser"       : true,     // Standard browser globals e.g. `window`, `document`.
  "predef"        : [         // Custom globals.
    "angular",
    "G_vmlCanvasManager",
    "require",
    "console",
    "Chart",
    "define",
    "module"
  ]
}