34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
{
|
|
"bitwise": false, // Prohibits the use of bitwise operators (not confuse & with &&)
|
|
"curly": true, // Requires to always put curly braces around blocks in loops and conditionals
|
|
"eqeqeq": false, // Prohibits the use of == and != in favor of === and !==
|
|
"eqnull": true, // Suppresses warnings about == null comparisons
|
|
"immed": true, // Requires immediate invocations to be wrapped in parens e.g. `(function () { } ());`
|
|
"latedef": false, // Prohibits the use of a variable before it was defined
|
|
"newcap": false, // Requires to capitalize names of constructor functions
|
|
"noarg": true, // Prohibits the use of arguments.caller and arguments.callee
|
|
"strict": false, // Requires all functions to run in ECMAScript 5's strict mode
|
|
"undef": true, // Require non-global variables to be declared (prevents global leaks)
|
|
"asi": true, // Suppresses warnings about missing semicolons
|
|
"funcscope": false,
|
|
"shadow": true,
|
|
"expr": true,
|
|
"-W041": true,
|
|
"-W018": true,
|
|
"globals": {
|
|
"CryptoJS": true,
|
|
"escape": true,
|
|
"unescape": true,
|
|
"Int8Array": true,
|
|
"Int16Array": true,
|
|
"Int32Array": true,
|
|
"Uint8Array": true,
|
|
"Uint16Array": true,
|
|
"Uint32Array": true,
|
|
"Uint8ClampedArray": true,
|
|
"ArrayBuffer": true,
|
|
"Float32Array": true,
|
|
"Float64Array": true
|
|
}
|
|
}
|