Skip to content

Commit b860a7f

Browse files
Trottruyadorno
authored andcommitted
doc: standardize on _backward_
We use _backward incompatible_ and _backwards incompatible_ with no discernible pattern in the docs. Follow Chicago Manual of Style and also our standardization on US English and favor _backward_. PR-URL: #35243 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent d82dd0c commit b860a7f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

doc/api/cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ If the graceful disconnect behavior is not needed, use `worker.process.kill()`.
436436

437437
Causes `.exitedAfterDisconnect` to be set.
438438

439-
This method is aliased as `worker.destroy()` for backwards compatibility.
439+
This method is aliased as `worker.destroy()` for backward compatibility.
440440

441441
In a worker, `process.kill()` exists, but it is not this function;
442442
it is [`kill()`][].

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ The default encoding to use for functions that can take either strings
16021602
or [buffers][`Buffer`]. The default value is `'buffer'`, which makes methods
16031603
default to [`Buffer`][] objects.
16041604

1605-
The `crypto.DEFAULT_ENCODING` mechanism is provided for backwards compatibility
1605+
The `crypto.DEFAULT_ENCODING` mechanism is provided for backward compatibility
16061606
with legacy programs that expect `'latin1'` to be the default encoding.
16071607

16081608
New applications should expect the default to be `'buffer'`.

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@ important ways:
23202320
* Pipes (and sockets): *synchronous* on Windows, *asynchronous* on POSIX
23212321

23222322
These behaviors are partly for historical reasons, as changing them would
2323-
create backwards incompatibility, but they are also expected by some users.
2323+
create backward incompatibility, but they are also expected by some users.
23242324

23252325
Synchronous writes avoid problems such as output written with `console.log()` or
23262326
`console.error()` being unexpectedly interleaved, or not written at all if

doc/api/readline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ const { createInterface } = require('readline');
828828
<tr>
829829
<td><code>ctrl</code> + <code>w</code> or <code>ctrl</code>
830830
+ <code>backspace</code></td>
831-
<td>Delete backwards to a word boundary</td>
831+
<td>Delete backward to a word boundary</td>
832832
<td><code>ctrl</code> + <code>backspace</code> Doesn't
833833
work on Linux, Mac and Windows</td>
834834
</tr>

doc/api/repl.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ added: v13.6.0
246246
-->
247247

248248
The REPL supports bi-directional reverse-i-search similar to [ZSH][]. It is
249-
triggered with `<ctrl> + R` to search backwards and `<ctrl> + S` to search
250-
forwards.
249+
triggered with `<ctrl> + R` to search backward and `<ctrl> + S` to search
250+
forward.
251251

252252
Duplicated history entires will be skipped.
253253

doc/guides/technical-values.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ with Node.js. Some key elements of this include:
2626
Whenever possible, we seek to ensure that working code continues to work. To
2727
keep the trust of developers and users, we value stability.
2828
Some key elements of this include:
29-
* Backwards compatibility
29+
* Backward compatibility
3030
* Stable releases on a predictable schedule
3131
* A strong safety net, including testing how changes
3232
in Node.js affect popular packages

0 commit comments

Comments
 (0)