Skip to content

feature request: setup compiler macros environment #1662

Closed
@privatenumber

Description

@privatenumber

Tell us about your environment

  • ESLint version: 7.32.0
  • eslint-plugin-vue version: 7.19.1
  • Node version: v14.18.1

The problem you want to solve.
It's currently recommended to add macros to globals manually.

Your take on the correct solution to problem.

I noticed plugins can export environments.

Wondering if eslint-plugin-vue can have a setup-compiler-macros environment that contains the 4 variables so we can do:

{
	env: {
		'vue/setup-compiler-macros': true
	}
}

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions