Skip to content

Interpret <script type="x-magento-init"> as JSON syntax #276

Closed
@lbajsarowicz

Description

@lbajsarowicz

Is your feature request related to a problem? Please describe.

I would like to get the validation of the <script type="x-magento-init"> as JSON in PHPStorm

Describe the solution you'd like (*)

When I create node <script type="x-magento-init"> I would like to get this validated as a JSON syntax, as well as have hints provided.

Describe alternatives you've considered

Manual configuration of PHPStorm.

Additional context

We can also cover data-mage-init too

Metadata

Metadata

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