2015-01-26 03:19:37 +08:00
|
|
|
{
|
|
|
|
"env" : {
|
|
|
|
"node": true,
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"globals": {
|
2015-02-13 02:45:04 +08:00
|
|
|
"$": true,
|
|
|
|
"define": true
|
2015-01-26 03:19:37 +08:00
|
|
|
},
|
|
|
|
"rules" : {
|
|
|
|
"quotes": false,
|
|
|
|
"space-after-keywords": [2, "always", {"checkFunctionKeyword": true}],
|
|
|
|
"space-before-blocks": [2, "always"],
|
|
|
|
"brace-style": [2, "1tbs", { "allowSingleLine": false}],
|
|
|
|
"spaced-line-comment": [2, "always"],
|
|
|
|
"radix": [2, "always"],
|
|
|
|
"key-spacing": [2, "always", {"beforeColon": false, "afterColon": true}],
|
|
|
|
"no-multiple-empty-lines": [2, {max: 1}],
|
|
|
|
}
|
|
|
|
}
|