File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export const customElement = (tagName: string) => {
3838 let message = '' ;
3939
4040 if ( ! anotherVersion ) {
41+ // eslint-disable-next-line no-console
4142 console . warn (
4243 tagName ,
4344 'is already registered by an unknown custom element handler class.'
@@ -53,6 +54,7 @@ export const customElement = (tagName: string) => {
5354 'is already registered by the same version of VSCode Elements. ' ;
5455 }
5556
57+ // eslint-disable-next-line no-console
5658 console . warn (
5759 `[VSCode Elements] ${ tagName } ${ message } \nTo suppress this warning, set window.${ CONFIG_KEY } to true`
5860 ) ;
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export class VscodeIcon extends VscElement {
9090 msg +=
9191 'See https://vscode-elements.github.io/components/icon/ for more details.' ;
9292
93+ // eslint-disable-next-line no-console
9394 console . warn ( msg ) ;
9495 }
9596
You can’t perform that action at this time.
0 commit comments