mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			564 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			564 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "overrides": [
 | 
						|
    {
 | 
						|
      "files": ["src/**/*.{ts,tsx}"],
 | 
						|
      "rules": {
 | 
						|
        "@typescript-eslint/no-restricted-imports": [
 | 
						|
          "error",
 | 
						|
          {
 | 
						|
            "patterns": [
 | 
						|
              {
 | 
						|
                "group": ["../../excalidraw", "../../../packages/excalidraw", "@excalidraw/excalidraw"],
 | 
						|
                "message": "Do not import from '@excalidraw/excalidraw' package anything but types, as this package must be independent.",
 | 
						|
                "allowTypeImports": true
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ]
 | 
						|
}
 |