haskell/haskell-ide-engine

Provide code action to turn off a hlint warning in a project

Open

#955 创建于 2018年11月21日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)Haskell (205 fork)batch import
good first issuetype: enhancement

仓库指标

Star
 (2,358 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

When a hlint warning is provided, e.g. "use camelCase", you do not always want to apply it in the project.

Provide a code action to add it to the file .hlint.yaml in the project root, creating that file if it does not exist.

- ignore: {name: "Use camelCase"}

If possible, provide another one for a single override at this location. If hlint provides such a feature.

贡献者指南