Skip to content

Commit 9ee8d54

Browse files
timdorrzkat
authored andcommitted
docs: Move invalid example to the right section (#18)
1 parent 393f657 commit 9ee8d54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ validate("some-package")
4848
validate("example.com")
4949
validate("under_score")
5050
validate("123numeric")
51-
validate("excited!")
5251
validate("@npm/thingy")
5352
validate("@jane/foo.js")
5453
```
@@ -65,6 +64,7 @@ All of the above names are valid, so you'll get this object back:
6564
### Invalid Names
6665

6766
```js
67+
validate("excited!")
6868
validate(" leading-space:and:weirdchars")
6969
```
7070

0 commit comments

Comments
 (0)