Skip to content

Commit d1a2ca4

Browse files
committed
update doc
1 parent 2ef36bf commit d1a2ca4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/rules/no-atomics-pause.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,28 @@ Atomics.pause()
2424

2525
</eslint-playground>
2626

27+
## 🔧 Options
28+
29+
This rule has an option.
30+
31+
```jsonc
32+
{
33+
"rules": {
34+
"es-x/no-atomics-pause": [
35+
"error",
36+
{
37+
"allowTestedProperty": false
38+
}
39+
]
40+
}
41+
}
42+
```
43+
44+
### allowTestedProperty: boolean
45+
46+
Configure the allowTestedProperty mode for only this rule.
47+
This is prior to the `settings['es-x'].allowTestedProperty` setting.
48+
2749
## 📚 References
2850

2951
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-atomics-pause.js)

0 commit comments

Comments
 (0)