Skip to content

CommentLevelsSniff works incorrect with @magento_import statement. #23789

@p-bystritsky

Description

@p-bystritsky

DevDocs article about @magento_import

Preconditions (*)

  1. Make some changes to any less file containing @magento_import statement.

Steps to reproduce (*)

  1. Run Magento\Test\Less\LiveCodeTest

Expected result (*)

  1. No error related to @magento_import statement.

Actual result (*)

  1. "Level's comment does not have 2 spaces after '//'" error raised on a line containing @magento_import statement

Metadata

Metadata

Assignees

Labels

Fixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions