Skip to content

Commit 3642342

Browse files
cherryblossom000kaicataldo
authored andcommitted
Docs: Fix minor formatting/grammar errors (#12371)
* Docs: Fix link to code conventions * Docs: Fix formattting * Docs: Fix formatting of example config All other example configs in the docs spaced curly braces in object literals, so this commit updates this for consistency. * Docs: Fixed grammar * Docs: Revert link to code conventions This reverts commit ab5dba7. * Docs: Revert link to code conventions * Docs: Revert link to code conventions Sorry for all the commits.
1 parent c47fa0d commit 3642342

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/rules/no-obj-calls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The [ECMAScript 2015 specification](https://www.ecma-international.org/ecma-262/
1212
1313
And the [ECMAScript 2017 specification](https://www.ecma-international.org/ecma-262/8.0/index.html#sec-atomics-object) makes it clear that `Atomics` cannot be invoked:
1414

15-
> The Atomics object does not have a [[Call]] internal method; it is not possible to invoke the Atomics object as a function.
15+
> The Atomics object does not have a `[[Call]]` internal method; it is not possible to invoke the Atomics object as a function.
1616
1717
## Rule Details
1818

docs/rules/space-infix-ops.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This rule is aimed at ensuring there are spaces around infix operators.
2323
This rule accepts a single options argument with the following defaults:
2424

2525
```json
26-
"space-infix-ops": ["error", {"int32Hint": false}]
26+
"space-infix-ops": ["error", { "int32Hint": false }]
2727
```
2828

2929
### `int32Hint`

docs/rules/symbol-description.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# require symbol description (symbol-description)
22

3-
The `Symbol` function may have optional description:
3+
The `Symbol` function may have an optional description:
44

55
```js
66
var foo = Symbol("some description");

0 commit comments

Comments
 (0)