|
|
|
@ -26,6 +26,7 @@ |
|
|
|
|
"recursive-tree-copy": "0.0.1", |
|
|
|
|
"serve-favicon": "^2.3.2", |
|
|
|
|
"serve-static": "^1.11.1", |
|
|
|
|
"stream-buffers": "^3.0.1", |
|
|
|
|
"uglify-js": "^2.7.5", |
|
|
|
|
"underscore": "^1.8.3" |
|
|
|
|
}, |
|
|
|
@ -38,19 +39,61 @@ |
|
|
|
|
}, |
|
|
|
|
"extends": "eslint:all", |
|
|
|
|
"rules": { |
|
|
|
|
"quotes": ["warn", "double"], |
|
|
|
|
"quotes": [ |
|
|
|
|
"warn", |
|
|
|
|
"double" |
|
|
|
|
], |
|
|
|
|
"require-jsdoc": "off", |
|
|
|
|
"func-names": ["warn", "never"], |
|
|
|
|
"max-len": ["warn", { "code": 140 }], |
|
|
|
|
"operator-linebreak": ["warn", "before"], |
|
|
|
|
"padded-blocks": ["warn", "never"], |
|
|
|
|
"dot-notation": ["warn", { "allowPattern": "^[a-z]+(_[a-z]+)+$" }], |
|
|
|
|
"linebreak-style": ["warn", "windows"], |
|
|
|
|
"func-names": [ |
|
|
|
|
"warn", |
|
|
|
|
"never" |
|
|
|
|
], |
|
|
|
|
"max-len": [ |
|
|
|
|
"warn", |
|
|
|
|
{ |
|
|
|
|
"code": 140 |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"operator-linebreak": [ |
|
|
|
|
"warn", |
|
|
|
|
"before" |
|
|
|
|
], |
|
|
|
|
"padded-blocks": [ |
|
|
|
|
"warn", |
|
|
|
|
"never" |
|
|
|
|
], |
|
|
|
|
"dot-notation": [ |
|
|
|
|
"warn", |
|
|
|
|
{ |
|
|
|
|
"allowPattern": "^[a-z]+(_[a-z]+)+$" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"linebreak-style": [ |
|
|
|
|
"warn", |
|
|
|
|
"windows" |
|
|
|
|
], |
|
|
|
|
"no-console": "off", |
|
|
|
|
"dot-location": ["warn", "property"], |
|
|
|
|
"object-curly-spacing": ["warn", "always"], |
|
|
|
|
"one-var": ["warn", { "initialized": "never" }], |
|
|
|
|
"no-extra-parens": ["warn", "all", { "nestedBinaryExpressions": false }] |
|
|
|
|
"dot-location": [ |
|
|
|
|
"warn", |
|
|
|
|
"property" |
|
|
|
|
], |
|
|
|
|
"object-curly-spacing": [ |
|
|
|
|
"warn", |
|
|
|
|
"always" |
|
|
|
|
], |
|
|
|
|
"one-var": [ |
|
|
|
|
"warn", |
|
|
|
|
{ |
|
|
|
|
"initialized": "never" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"no-extra-parens": [ |
|
|
|
|
"warn", |
|
|
|
|
"all", |
|
|
|
|
{ |
|
|
|
|
"nestedBinaryExpressions": false |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|