[SG-39797] Enable no-console ESLint rule
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: gitstart-sourcegraph
Enable no-console ESLint rule
no-console
is set to error in the monorepo eslintrc.no-console
is disabled for server-side code (e.g., client/web/dev or gulpfile.js) and Storybook stories via eslintrc overrides field.no-console
is disabled for browser and VSCode packages in their eslintrc configs.export function logError(...args: unknown[]): void {
// eslint-disable-next-line no-console
console.error(...args)
}
Ensure no console.log or console.error is used in any files except files in the
Check out the client app preview documentation to learn more.
Push commits to the source branch or add previously merged commits to review them.