Closed mdjermanovic closed 2 months ago
Adds a CommonJS usage example. Since the plugin is exported as default in CJS, I think it's worth adding this example.
default
Added the example to README.md.
Discussion on https://github.com/eslint/eslint/pull/18827
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 https://github.com/eslint/eslint/pull/18827
Is there anything you'd like reviewers to focus on?