Skip to content

Commit 5db226f

Browse files
authored
docs: add missing backticks in various parts of the documentation (#19269)
1 parent 789edbb commit 5db226f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/src/extend/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you plan to distribute your plugin as an npm package, make sure that the modu
4040

4141
### Meta Data in Plugins
4242

43-
For easier debugging and more effective caching of plugins, it's recommended to provide a name and version in a `meta` object at the root of your plugin, like this:
43+
For easier debugging and more effective caching of plugins, it's recommended to provide a `name` and `version` in a `meta` object at the root of your plugin, like this:
4444

4545
```js
4646
const plugin = {

docs/src/rules/id-match.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rule_type: suggestion
99
Naming things consistently in a project is an often underestimated aspect of code creation.
1010
When done correctly, it can save your team hours of unnecessary head scratching and misdirections.
1111
This rule allows you to precisely define and enforce the variables and function names on your team should use.
12-
No more limiting yourself to camelCase, snake_case, PascalCase, or HungarianNotation. Id-match has all your needs covered!
12+
No more limiting yourself to camelCase, snake_case, PascalCase, or HungarianNotation. `id-match` has all your needs covered!
1313

1414
## Rule Details
1515

docs/src/rules/no-array-constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ related_rules:
1010
Use of the `Array` constructor to construct a new array is generally
1111
discouraged in favor of array literal notation because of the single-argument
1212
pitfall and because the `Array` global may be redefined. The exception is when
13-
the Array constructor is used to intentionally create sparse arrays of a
13+
the `Array` constructor is used to intentionally create sparse arrays of a
1414
specified size by giving the constructor a single numeric argument.
1515

1616
## Rule Details

docs/src/rules/no-console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ console.error("Log an error level message.");
6969

7070
If you're using Node.js, however, `console` is used to output information to the user and so is not strictly used for debugging purposes. If you are developing for Node.js then you most likely do not want this rule enabled.
7171

72-
Another case where you might not use this rule is if you want to enforce console calls and not console overwrites. For example:
72+
Another case where you might not use this rule is if you want to enforce `console` calls and not `console` overwrites. For example:
7373

7474
```js
7575
/* eslint no-console: ["error", { allow: ["warn"] }] */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy