Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add CommonJS example #23

Merged
merged 1 commit into from
Aug 28, 2024
Merged

docs: Add CommonJS example #23

merged 1 commit into from
Aug 28, 2024

Conversation

mdjermanovic
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

Adds a CommonJS usage example. Since the plugin is exported as default in CJS, I think it's worth adding this example.

What changes did you make? (Give an overview)

Added the example to README.md.

Related Issues

Discussion on eslint/eslint#18827

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the documentation Improvements or additions to documentation label Aug 28, 2024
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@nzakas nzakas merged commit bc7c371 into main Aug 28, 2024
15 checks passed
@nzakas nzakas deleted the readme-commonjs branch August 28, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants