2014-11-15 15:34:32 +01:00
|
|
|
{
|
|
|
|
// ["xxx"] is better written in dot notation
|
|
|
|
"-W069": true,
|
|
|
|
// Script URL
|
|
|
|
"-W107": true,
|
|
|
|
// Eval can be harmful
|
|
|
|
"-W061": true,
|
|
|
|
"-W041": true,
|
2015-02-28 10:27:28 +01:00
|
|
|
// Wrap the /regexp/ literal in parens to disambiguate the slash operator
|
|
|
|
"-W092": true,
|
2015-04-27 16:26:59 +02:00
|
|
|
// Reserved words
|
|
|
|
"-W024": true,
|
2014-11-15 15:34:32 +01:00
|
|
|
"curly": true,
|
2015-05-15 12:37:27 +02:00
|
|
|
"indent": 4,
|
2014-11-15 15:34:32 +01:00
|
|
|
//"eqeqeq": true,
|
|
|
|
"es3": true,
|
|
|
|
"esnext": true,
|
2015-05-15 12:37:27 +02:00
|
|
|
"unused": true,
|
2014-11-15 15:34:32 +01:00
|
|
|
|
2015-05-15 16:26:21 +02:00
|
|
|
"maxlen" : 80,
|
2014-11-15 15:34:32 +01:00
|
|
|
"globals": {
|
2015-05-02 11:54:24 +02:00
|
|
|
"Object": true,
|
2014-11-15 15:34:32 +01:00
|
|
|
"module": true,
|
|
|
|
"require": true,
|
|
|
|
"define": true,
|
|
|
|
"window": true,
|
|
|
|
"document": true,
|
|
|
|
"escape": true,
|
|
|
|
"unescape": true,
|
|
|
|
"navigator": true
|
|
|
|
}
|
|
|
|
}
|