GroganBurners /
ferveo
| 1 | const BaseController = require('./base') |
||
|
0 ignored issues
–
show
Unused Code
introduced
by
Loading history...
|
|||
| 2 | const Customer = require('../models/customer') |
||
| 3 | const Price = require('../models/price') |
||
| 4 | const MessageController = require('./message') |
||
| 5 | const AuthController = require('./auth') |
||
| 6 | |||
| 7 | module.exports.Customer = class CustomerController extends BaseController { |
||
|
0 ignored issues
–
show
The variable
BaseController seems to be never declared. If this is a global, consider adding a /** global: BaseController */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. Loading history...
|
|||
| 8 | constructor () { |
||
| 9 | super(Customer, '_id') |
||
|
0 ignored issues
–
show
The variable
Customer seems to be never declared. If this is a global, consider adding a /** global: Customer */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. Loading history...
|
|||
| 10 | } |
||
| 11 | } |
||
| 12 | |||
| 13 | module.exports.Price = class PriceController extends BaseController { |
||
|
0 ignored issues
–
show
The variable
BaseController seems to be never declared. If this is a global, consider adding a /** global: BaseController */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. Loading history...
|
|||
| 14 | constructor () { |
||
| 15 | super(Price, '_id') |
||
|
0 ignored issues
–
show
The variable
Price seems to be never declared. If this is a global, consider adding a /** global: Price */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. Loading history...
|
|||
| 16 | } |
||
| 17 | } |
||
| 18 | |||
| 19 | module.exports.Message = MessageController |
||
| 20 | module.exports.Auth = AuthController |
||
| 21 |