2015-01-29 01:33:45 +08:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"camelcase": 2,
|
|
|
|
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
|
|
|
|
"space-after-function-name": 2,
|
|
|
|
"space-in-parens": 2,
|
|
|
|
"space-in-brackets": 2,
|
|
|
|
"space-before-blocks": 2,
|
|
|
|
"space-after-keywords": 2,
|
|
|
|
"no-lonely-if": 2,
|
|
|
|
"comma-style": 2,
|
|
|
|
"no-unused-vars": 0,
|
|
|
|
"quotes": 0,
|
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-constant-condition": 0,
|
|
|
|
"no-multi-spaces": 0,
|
|
|
|
"strict": 0,
|
|
|
|
"key-spacing": 0,
|
|
|
|
"no-shadow": 0,
|
2015-03-07 19:48:46 +08:00
|
|
|
"no-irregular-whitespace": 0,
|
|
|
|
"no-console": 0
|
2015-01-29 01:33:45 +08:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"L": true,
|
|
|
|
"module": false,
|
|
|
|
"define": false,
|
|
|
|
"expect": false,
|
|
|
|
"it": false,
|
|
|
|
"describe": false,
|
|
|
|
"sinon": false,
|
|
|
|
"happen": false,
|
|
|
|
"beforeEach": false,
|
|
|
|
"afterEach": false
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
}
|
|
|
|
}
|