Skip to content

Ignoring lint rules in templates #22

Closed
@maxmilton

Description

@maxmilton

Now that v2.0.0 has template linting is on by default, I'm getting a bunch of false negatives I'd like to either ignore or customise specifically for templates.

The main 2 I'm seeing (based on my rule set) is:

  1. no-unused-expressions - We kind of actually want the opposite, templates should be an expression.
  2. @typescript-eslint/indent (same as indent) - Triggers inside an {#each} loop.

Screenshot from 2019-06-26 06-54-33

Configs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions