Closed
Description
Rules in this repo have a dependency on eslint being configured with:
...
parserOptions: {
sourceType: 'script',
}
This is makes sense, but I ran into unexpectedly as I created a plugin from scratch rather than using the yeoman generator (https://github.com/eslint/generator-eslint).
For context, using the generator eslint-plugin-node/recommended
gets extended and this config sets the parserOption).
Can we update the documentation somewhere to make it clear that this is a configuration requirement?
I'm happy to create a PR to update README.md
with this.
Metadata
Metadata
Assignees
Labels
No labels