This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
import type { RuleConfig } from '../rule-config' ;
2
2
3
3
/**
4
- * Ensure Node.js-style error-first callback pattern is followed.
4
+ * Enforce Node.js-style error-first callback pattern is followed.
5
5
*
6
6
* @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
7
7
*/
8
8
export type NoCallbackLiteralRuleConfig = RuleConfig < [ ] > ;
9
9
10
10
/**
11
- * Ensure Node.js-style error-first callback pattern is followed.
11
+ * Enforce Node.js-style error-first callback pattern is followed.
12
12
*
13
13
* @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
14
14
*/
15
15
export interface NoCallbackLiteralRule {
16
16
/**
17
- * Ensure Node.js-style error-first callback pattern is followed.
17
+ * Enforce Node.js-style error-first callback pattern is followed.
18
18
*
19
19
* @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
20
20
*/
Original file line number Diff line number Diff line change 1
1
import type { RuleConfig } from '../rule-config' ;
2
2
3
3
/**
4
- * Make `process.exit()` expressions the same code path as `throw`.
4
+ * Require that `process.exit()` expressions use the same code path as `throw`.
5
5
*
6
6
* @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
7
7
*/
8
8
export type ProcessExitAsThrowRuleConfig = RuleConfig < [ ] > ;
9
9
10
10
/**
11
- * Make `process.exit()` expressions the same code path as `throw`.
11
+ * Require that `process.exit()` expressions use the same code path as `throw`.
12
12
*
13
13
* @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
14
14
*/
15
15
export interface ProcessExitAsThrowRule {
16
16
/**
17
- * Make `process.exit()` expressions the same code path as `throw`.
17
+ * Require that `process.exit()` expressions use the same code path as `throw`.
18
18
*
19
19
* @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
20
20
*/
Original file line number Diff line number Diff line change @@ -47,20 +47,20 @@ export interface ShebangOption {
47
47
export type ShebangOptions = [ ShebangOption ?] ;
48
48
49
49
/**
50
- * Suggest correct usage of shebang.
50
+ * Require correct usage of shebang.
51
51
*
52
52
* @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
53
53
*/
54
54
export type ShebangRuleConfig = RuleConfig < ShebangOptions > ;
55
55
56
56
/**
57
- * Suggest correct usage of shebang.
57
+ * Require correct usage of shebang.
58
58
*
59
59
* @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
60
60
*/
61
61
export interface ShebangRule {
62
62
/**
63
- * Suggest correct usage of shebang.
63
+ * Require correct usage of shebang.
64
64
*
65
65
* @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
66
66
*/
You can’t perform that action at this time.
0 commit comments