graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

Ignore hlints + warnings in generated modules

Open brandon-leapyear opened this issue 4 years ago • 0 comments

All generated modules (API + enums) should include

{-# OPTIONS_GHC -w #-}
{-# ANN module "HLint: ignore" #-}

So that we don't get any GHC warnings (that could turn into compile-time errors if someone turns on -Werror) and HLint doesn't check this file (ref)

brandon-leapyear avatar Aug 27 '20 00:08 brandon-leapyear