Skip to content

Commit 7bc8e69

Browse files
docs: correct namespaces examples to have values (#25)
## PR Checklist - [x] Addresses an existing open issue: fixes #23 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/.github/CONTRIBUTING.md) were taken ## Overview A pure docs fix. 💖
1 parent 0c7de55 commit 7bc8e69

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/rules/namespaces.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22

33
<!-- end auto-generated rule header -->
44

5-
Enforces that code doesn't use TypeScript's `namespaces`s:
5+
Enforces that code doesn't use TypeScript's `namespaces` with values:
66

77
```ts
8-
module Values {}
9-
namespace Values {}
8+
module Values {
9+
export const value = "a";
10+
}
11+
12+
namespace Values {
13+
export const value = "a";
14+
}
1015
```

0 commit comments

Comments
 (0)