Skip to content

Commit 4fb0514

Browse files
ChALkeRFishrock123
authored andcommittedOct 11, 2016
doc: enable no-file-name-articles remark-lint rule
This renames doc/topics/the-event-loop-timers-and-nexttick.md to doc/topics/event-loop-timers-and-nexttick.md, which looks like a better name for that file and enables no-file-name-articles remark-lint rule to prevent such names in the future. PR-URL: #8713 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2e95b0e commit 4fb0514

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎.remarkrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"no-duplicate-definitions": true,
3131
"no-duplicate-headings": false,
3232
"no-emphasis-as-heading": false,
33-
"no-file-name-articles": false,
33+
"no-file-name-articles": true,
3434
"no-file-name-consecutive-dashes": true,
3535
"no-file-name-irregular-characters": false,
3636
"no-file-name-mixed-case": false,

‎doc/api/timers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ added: v0.0.1
163163
Cancels a `Timeout` object created by [`setTimeout()`][].
164164

165165

166-
[the Node.js Event Loop]: https://github.com/nodejs/node/blob/master/doc/topics/the-event-loop-timers-and-nexttick.md
166+
[the Node.js Event Loop]: https://github.com/nodejs/node/blob/master/doc/topics/event-loop-timers-and-nexttick.md
167167
[`TypeError`]: errors.html#errors_class_typeerror
168168
[`clearImmediate()`]: timers.html#timers_clearimmediate_immediate
169169
[`clearInterval()`]: timers.html#timers_clearinterval_timeout

‎doc/guides/timers-in-node.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ period of time. Timers do not need to be imported via `require()`, since
1010
all the methods are available globally to emulate the browser JavaScript API.
1111
To fully understand when timer functions will be executed, it's a good idea to
1212
read up on the the Node.js
13-
[Event Loop](../topics/the-event-loop-timers-and-nexttick).
13+
[Event Loop](../topics/event-loop-timers-and-nexttick).
1414

1515
## Controlling the Time Continuum with Node.js
1616

@@ -96,7 +96,7 @@ some major ways they differ. The first is that `process.nextTick()` will run
9696
*before* any `Immediate`s that are set as well as before any scheduled I/O.
9797
The second is that `process.nextTick()` is non-clearable, meaning once
9898
code has been scheduled to execute with `process.nextTick()`, the execution
99-
cannot be stopped, just like with a normal function. Refer to [this guide](../topics/the-event-loop-timers-and-nexttick#processnexttick)
99+
cannot be stopped, just like with a normal function. Refer to [this guide](../topics/event-loop-timers-and-nexttick#processnexttick)
100100
to better understand the operation of `process.nextTick()`.
101101

102102
### "Infinite Loop" Execution ~ *`setInterval()`*
@@ -189,4 +189,4 @@ There's much more to the Event Loop and Timers than this guide
189189
has covered. To learn more about the internals of the Node.js
190190
Event Loop and how Timers operate during execution, check out
191191
this Node.js guide: [The Node.js Event Loop, Timers, and
192-
process.nextTick()](../topics/the-event-loop-timers-and-nexttick.md).
192+
process.nextTick()](../topics/event-loop-timers-and-nexttick.md).

0 commit comments

Comments
 (0)