Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

DontSuppressLintErrorsLinter #543

@lexidor

Description

@lexidor

The idea is described in this issue: #458.

This ought be a be linter, instead of a framework feature.

This linter should take a configuration option with a deny_list of linter you may not suppress and/or an allow_list for linters you should be able to suppress. If neither is provided, do nothing. This allows users to upgrade to a later version of hhast without all their suppression comments being ignored.

Optional, but highly recommended, make it impossible to suppress DontSuppressLintErrorsLinter. This is kinda silly.

/** HHAST_IGNORE_ERROR[DontSuppressLintErrors] I know you to sneak this by you. */
/** HHAST_IGNORE_ERROR[DontUseAsioJoin] not in the allow_list. */
Asio\join($awaitable);

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