Skip to content

Include globals and 'jest' plugin in recommended #37

@scriptdaemon

Description

@scriptdaemon

I propose that the following be added to the "recommended" config option:

plugins: [
  'jest'
],
env: {
  'jest/globals': true
}

That way, when extending the recommended settings, a user does not have to include these manually. Both eslint-config-standard and eslint-plugin-vue (and probably others) do this as well. I'll submit the PR if this proposal is accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions