Skip to content

Commit a4aa6ad

Browse files
authored
Update name for no-process-exit rule (#247)
The configurations were using the deprecated no-process-exit rule instead of the preferred node/no-process-exit rule. This caused eslint-find-rules to report deprecation issues in configurations that extended these.
1 parent 3a4f4df commit a4aa6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configs/_commons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ module.exports = {
5757
setImmediate: "readonly",
5858
},
5959
commonRules: {
60-
"no-process-exit": "error",
6160
"node/no-deprecated-api": "error",
6261
"node/no-extraneous-import": "error",
6362
"node/no-extraneous-require": "error",
6463
"node/no-exports-assign": "error",
6564
"node/no-missing-import": "error",
6665
"node/no-missing-require": "error",
66+
"node/no-process-exit": "error",
6767
"node/no-unpublished-bin": "error",
6868
"node/no-unpublished-import": "error",
6969
"node/no-unpublished-require": "error",

0 commit comments

Comments
 (0)