We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1558c commit ee60f09Copy full SHA for ee60f09
docs/rules/consistent-assert.md
@@ -12,31 +12,31 @@ Enforce consistent assertion styles with `node:assert`.
12
## Examples
13
14
```js
15
-// ❌
16
import assert from 'node:assert';
+
17
+// ❌
18
assert(true);
19
20
// ✅
-import assert from 'node:assert';
21
assert.ok(true);
22
```
23
24
25
26
import {strict as assert} from 'node:assert';
27
28
29
30
-import {strict as assert} from 'node:assert';
31
32
33
34
35
36
import assert from 'node:assert/strict';
37
38
39
40
-import assert from 'node:assert/strict';
41
42
0 commit comments