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 11import type { RuleConfig } from '../rule-config' ;
22
33/**
4- * Ensure Node.js-style error-first callback pattern is followed.
4+ * Enforce Node.js-style error-first callback pattern is followed.
55 *
66 * @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
77 */
88export type NoCallbackLiteralRuleConfig = RuleConfig < [ ] > ;
99
1010/**
11- * Ensure Node.js-style error-first callback pattern is followed.
11+ * Enforce Node.js-style error-first callback pattern is followed.
1212 *
1313 * @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
1414 */
1515export interface NoCallbackLiteralRule {
1616 /**
17- * Ensure Node.js-style error-first callback pattern is followed.
17+ * Enforce Node.js-style error-first callback pattern is followed.
1818 *
1919 * @see [no-callback-literal](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md)
2020 */
Original file line number Diff line number Diff line change 11import type { RuleConfig } from '../rule-config' ;
22
33/**
4- * Make `process.exit()` expressions the same code path as `throw`.
4+ * Require that `process.exit()` expressions use the same code path as `throw`.
55 *
66 * @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
77 */
88export type ProcessExitAsThrowRuleConfig = RuleConfig < [ ] > ;
99
1010/**
11- * Make `process.exit()` expressions the same code path as `throw`.
11+ * Require that `process.exit()` expressions use the same code path as `throw`.
1212 *
1313 * @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
1414 */
1515export interface ProcessExitAsThrowRule {
1616 /**
17- * Make `process.exit()` expressions the same code path as `throw`.
17+ * Require that `process.exit()` expressions use the same code path as `throw`.
1818 *
1919 * @see [process-exit-as-throw](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/process-exit-as-throw.md)
2020 */
Original file line number Diff line number Diff line change @@ -47,20 +47,20 @@ export interface ShebangOption {
4747export type ShebangOptions = [ ShebangOption ?] ;
4848
4949/**
50- * Suggest correct usage of shebang.
50+ * Require correct usage of shebang.
5151 *
5252 * @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
5353 */
5454export type ShebangRuleConfig = RuleConfig < ShebangOptions > ;
5555
5656/**
57- * Suggest correct usage of shebang.
57+ * Require correct usage of shebang.
5858 *
5959 * @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
6060 */
6161export interface ShebangRule {
6262 /**
63- * Suggest correct usage of shebang.
63+ * Require correct usage of shebang.
6464 *
6565 * @see [shebang](https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/shebang.md)
6666 */
You can’t perform that action at this time.
0 commit comments