Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 31 lines (25 sloc) 1.297 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
{
    // See http://www.jshint.com/options/ for in-depth explanations

    // Predefined globals that JSHint ignores
    "browser" : true, // standard globals like 'window'
    "devel" : true, // development globals, e.g. 'console'
    "dojo" : true, // dojo toolkit globals
    "nonstandard" : true, // widely-adopted globals, e.g. 'escape'

    "predef" : [ // extra globals
        "ripcord", // opscenter globals
        "$rcp" // ripcord phrases
    ],

    // Development
    "debug" : false, // warn about debugger statements

    // ECMAScript 5
    "es5" : true, // allow ES5 syntax

    // Enforcing
    "bitwise" : true, // prohibit the use of bitwise operations (slow and '&' is usually supposed to be '&&')
    "curly" : true, // require {} for all blocks/scopes
    "latedef" : true, // prohibit variable use before definition ("hoisting")
    "noempty" : true, // prohibit empty blocks
    "trailing" : true, // no trailing whitespace is allowed
    "undef" : true, // prevent the use of undeclared variables

    // Relaxing
    "sub" : true // allow all subscript notation, including '[]'
}
Something went wrong with that request. Please try again.