Skip to content

Plugin does not properly handle disabling max-lines rule. #339

Closed
@bozzaj

Description

@bozzaj
  • ESLint Version: 4.14.0
  • eslint-plugin-vue Version: 4.1.0
  • Node Version: 8.9.1

Please show your full configuration:

rules: {
    "max-lines": ["error", {
        "max": 300,
        "skipBlankLines": true,
        "skipComments": true
    }],
}

What did you do? Please include the actual source code causing the issue.

See Vue eslint online demo

What did you expect to happen?
Expected the max-lines rule to be disabled for the document.

See Eslint demo

I can't use the same document as the Eslint demo will fail on a Vue document that starts with , but in this case, we're looking at just the fact that the document is greater than 300 lines.

What actually happened? Please include the actual, raw output from ESLint.
1:1     File must be at most 300 lines long. It's 315 lines long. (max-lines)

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