Authored by 郝肖肖

'babel-eslint'

{
"extends": "yoho",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
... ...
... ... @@ -98,7 +98,7 @@ exports.notFound = () => {
* @return {[type]}
*/
exports.serverError = () => {
return async (err, req, res, next) => {
return async(err, req, res, next) => {
const uid = req.user ? req.user.uid : 0;
const udid = _.get(req, 'cookies.udid', 'yoho');
... ...
... ... @@ -81,6 +81,7 @@
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
"autoprefixer": "^7.2.4",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
... ...