2022-01-13 06:52:40 +03:00
|
|
|
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": {
|
2023-05-20 01:17:43 +03:00
|
|
|
"no-console": 2,
|
2023-07-24 18:29:29 +03:00
|
|
|
"no-debugger": 2,
|
|
|
|
"no-restricted-properties": [2, {
|
|
|
|
"object": "process",
|
|
|
|
"property": "exit",
|
|
|
|
"message": "Please use gracefullyProcessExitDoNotHang function to exit the process.",
|
|
|
|
}],
|
2022-01-13 06:52:40 +03:00
|
|
|
}
|
|
|
|
};
|