You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, to prevent console.log from being introduced in the future, an ESLint rule "no-console": "error" should be added to enforce this convention.
The text was updated successfully, but these errors were encountered:
@saschaszott : I agree with this entirely. If you find time to create a PR, I'd gladly review it. Plus, the ESlint rule would help immensely in ensuring we don't accidentally add more console.log statements in the future.
There are many more instances of console.log() that are for debugging purposes during build etc, so it seems we will need to update this ESLint configuration with some exceptions or change those to console.warn() or info...
Description
Currently, there are three occurrences of
console.log
in the codebase that should be removed:dspace-angular/src/app/shared/access-control-form-container/access-control-form-container.component.ts
Line 101 in 073cd07
dspace-angular/src/app/shared/access-control-form-container/access-control-form-container.component.ts
Line 141 in 073cd07
dspace-angular/src/app/shared/access-control-form-container/bulk-access-control.service.ts
Line 62 in 073cd07
Additionally, to prevent
console.log
from being introduced in the future, an ESLint rule"no-console": "error"
should be added to enforce this convention.The text was updated successfully, but these errors were encountered: