Issues (124)

app/services/catering/viewer.js (4 issues)

1
const ApiError = require('../../util/api_error')
0 ignored issues
show
The constant ApiError seems to be never used. Consider removing it.
Loading history...
2
const Validate = require('request-validate')
0 ignored issues
show
The constant Validate seems to be never used. Consider removing it.
Loading history...
3
const _ = require('underscore')
0 ignored issues
show
The constant _ seems to be never used. Consider removing it.
Loading history...
4
5
module.exports = {
6
    list: async function (kid) {
0 ignored issues
show
The parameter kid is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
7
        let result = []
8
        return result
9
    },
10
11
}
12