Skip to content

Rule "class-style" will be ignored from gulp task with false or none value #1

@WuglyakBolgoink

Description

@WuglyakBolgoink

sidebar.html
1:12 error value must match the format: underscore class-style

<div class="info-banner clearfix">

.pipe(htmlLint({
        // htmllintrc: ".htmllintrc",
        // useHtmllintrc: true,
        rules: {
          'attr-name-style': false,
          'class-style': false
        }
        // plugins: [],
        // limitFiles: `Number.MAX_VALUE`,
        // limitIssuesPerFile: `Number.MAX_VALUE`,
        // limitIssues: `Number.MAX_VALUE`,
      }))

with 'class-style': 'none' i got error!

[10:35:07] ngTemplates sidebar.html
{ [Error: Could not lint html file: sidebar.html]
  message: 'Could not lint html file: sidebar.html',
  showStack: false,
  showProperties: true,
  plugin: 'gulp-html-lint',
  __safety: { toString: [Function: bound ] } }

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