mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
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.",
|
|
}],
|
|
}
|
|
};
|