Streamlined eslint usage for eslint9 w/ cds8 (#719)
* Streamlined eslint usage * import from @sap/cds instead of @sap/cds/lib * Using @sap/cds/eslint.js * eslint.config.mjs aktualisieren * Adjusted eslint usage for eslint9 with cds8
This commit is contained in:
@@ -29,7 +29,7 @@ class OrdersService extends cds.ApplicationService {
|
||||
/** order changed -> broadcast event */
|
||||
orderChanged (product, deltaQuantity) {
|
||||
// Emit events to inform subscribers about changes in orders
|
||||
console.log ('> emitting:', 'OrderChanged', { product, deltaQuantity })
|
||||
console.log ('> emitting:', 'OrderChanged', { product, deltaQuantity }) // eslint-disable-line no-console
|
||||
return this.emit ('OrderChanged', { product, deltaQuantity })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user