haskell/haskell-ide-engine

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

Open

#955 aperta il 21 nov 2018

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)Haskell (205 fork)batch import
good first issuetype: enhancement

Metriche repository

Star
 (2358 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor