Something went wrong on our end. Please try again.
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.