Skip to content

Make README examples follow eslint rules - #35

Merged
bcoe merged 1 commit into
pkgjs:mainfrom
shadowspawn:feature/examples
Jan 12, 2022
Merged

bcoe merged 1 commit into
pkgjs:mainfrom
shadowspawn:feature/examples

Conversation

@shadowspawn

Copy link
Copy Markdown
Collaborator

Style suggestion, no functional changes.

  • change require to work with current package name (for now)
  • change examples to follow eslint rules
  • move example "output" into comments, so js block is valid javascript

(The original examples may have had the node REPL in mind with the "output" format, but I found that a bit confusing.)

@bcoe
bcoe merged commit 10a8b20 into pkgjs:main Jan 12, 2022
@shadowspawn
shadowspawn deleted the feature/examples branch January 12, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants