mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	chore: Add eslint-unicorn & fix
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
const warning = (s: string) => {
 | 
			
		||||
  // Todo remove debug code
 | 
			
		||||
  console.error('Log function was called before initialization', s); // eslint-disable-line
 | 
			
		||||
  // eslint-disable-next-line no-console
 | 
			
		||||
  console.error('Log function was called before initialization', s);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user