Skip to content

Commit e193f68

Browse files
committed
fix comment in docs
1 parent 69eef5b commit e193f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/always-return.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ chain does not warn if it does an assignment to a global variable. Default is
101101
`["window"]`.
102102

103103
```js
104-
/* eslint promise/always-return: ["error", { ignoreAssignmentVariable: ["globalThis", "globalThis.modules"] }] */
104+
/* eslint promise/always-return: ["error", { ignoreAssignmentVariable: ["window", "globalThis", "globalThis.modules"] }] */
105105

106106
// OK
107107
promise.then((x) => {

0 commit comments

Comments
 (0)