Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Optionally fail for deprecations in our various lint commands #33957

Copy link
Copy link
Closed
@stof

Description

@stof
Issue body actions

A common use case for the lint commands (lint:yaml, lint:twig and lint:xliff) is to run them on CI.
While they report syntax errors currently, they don't allow failing when a deprecated feature is used (this is relevant at least for twig and yaml today). If would be great if they could have an option that would turn on reporting of any deprecation triggered as part of the parsing rather than only reporting parsing errors. This way, the CI can also prevent using deprecated Twig/YAML features.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.