mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	 b4c412eb1f
			
		
	
	
		b4c412eb1f
		
			
		
	
	
	
	
		
			
			Everywhere we call `process.exit()`, we might actually need to gracefully close all browsers.
		
			
				
	
	
		
			22 lines
		
	
	
		
			529 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			529 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   "extends": "../.eslintrc.js",
 | |
|   /**
 | |
|    * ESLint rules
 | |
|    *
 | |
|    * All available rules: http://eslint.org/docs/rules/
 | |
|    *
 | |
|    * Rules take the following form:
 | |
|    *   "rule-name", [severity, { opts }]
 | |
|    * Severity: 2 == error, 1 == warning, 0 == off.
 | |
|    */
 | |
|   "rules": {
 | |
|     "no-console": 2,
 | |
|     "no-debugger": 2,
 | |
|     "no-restricted-properties": [2, {
 | |
|       "object": "process",
 | |
|       "property": "exit",
 | |
|       "message": "Please use gracefullyProcessExitDoNotHang function to exit the process.",
 | |
|     }],
 | |
|   }
 | |
| };
 |