-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to see 255 exit code in isolation #873
Conversation
--- | ||
|
||
# By default, everything is an error | ||
- error: {name: ""} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- error: {name: ""} | |
- error: { name: "" } |
- {name: [Data.Set], as: Set} | ||
- {name: [Data.Map], as: Map} | ||
- {name: [Data.HashSet], as: HashSet} | ||
- {name: [Data.HashMap.Strict], as: HashMap} | ||
- {name: [Data.Text], as: T} | ||
- {name: [Data.Text.Encoding], as: T} | ||
- {name: [Data.Text.IO], as: T} | ||
- {name: [Data.Text.Lazy], as: TL} | ||
- {name: [Data.Text.Lazy.Encoding], as: TL} | ||
- {name: [Data.Text.IO.Lazy], as: TL} | ||
- {name: [Data.ByteString], as: BS} | ||
- {name: [Data.ByteString.Lazy], as: BSL} | ||
- {name: [Data.ByteString.Char8], as: BS8} | ||
- {name: [Data.ByteString.Lazy.Char8], as: BSL8} | ||
- {name: [Data.List.NonEmpty], as: NE} | ||
- {name: [Data.Sequence], as: Seq} | ||
- {name: Database.Esqueleto.Legacy, within: []} | ||
- {name: Freckle.CurriculaApi, as: CurriculaApi} | ||
- name: | ||
- Freckle.App.OpenTelemetry | ||
- OpenTelemetry.Context | ||
- OpenTelemetry.Context.ThreadLocal | ||
- OpenTelemetry.Trace | ||
as: Trace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- {name: [Data.Set], as: Set} | |
- {name: [Data.Map], as: Map} | |
- {name: [Data.HashSet], as: HashSet} | |
- {name: [Data.HashMap.Strict], as: HashMap} | |
- {name: [Data.Text], as: T} | |
- {name: [Data.Text.Encoding], as: T} | |
- {name: [Data.Text.IO], as: T} | |
- {name: [Data.Text.Lazy], as: TL} | |
- {name: [Data.Text.Lazy.Encoding], as: TL} | |
- {name: [Data.Text.IO.Lazy], as: TL} | |
- {name: [Data.ByteString], as: BS} | |
- {name: [Data.ByteString.Lazy], as: BSL} | |
- {name: [Data.ByteString.Char8], as: BS8} | |
- {name: [Data.ByteString.Lazy.Char8], as: BSL8} | |
- {name: [Data.List.NonEmpty], as: NE} | |
- {name: [Data.Sequence], as: Seq} | |
- {name: Database.Esqueleto.Legacy, within: []} | |
- {name: Freckle.CurriculaApi, as: CurriculaApi} | |
- name: | |
- Freckle.App.OpenTelemetry | |
- OpenTelemetry.Context | |
- OpenTelemetry.Context.ThreadLocal | |
- OpenTelemetry.Trace | |
as: Trace | |
- { name: [Data.Set], as: Set } | |
- { name: [Data.Map], as: Map } | |
- { name: [Data.HashSet], as: HashSet } | |
- { name: [Data.HashMap.Strict], as: HashMap } | |
- { name: [Data.Text], as: T } | |
- { name: [Data.Text.Encoding], as: T } | |
- { name: [Data.Text.IO], as: T } | |
- { name: [Data.Text.Lazy], as: TL } | |
- { name: [Data.Text.Lazy.Encoding], as: TL } | |
- { name: [Data.Text.IO.Lazy], as: TL } | |
- { name: [Data.ByteString], as: BS } | |
- { name: [Data.ByteString.Lazy], as: BSL } | |
- { name: [Data.ByteString.Char8], as: BS8 } | |
- { name: [Data.ByteString.Lazy.Char8], as: BSL8 } | |
- { name: [Data.List.NonEmpty], as: NE } | |
- { name: [Data.Sequence], as: Seq } | |
- { name: Database.Esqueleto.Legacy, within: [] } | |
- { name: Freckle.CurriculaApi, as: CurriculaApi } | |
- name: | |
- Freckle.App.OpenTelemetry | |
- OpenTelemetry.Context | |
- OpenTelemetry.Context.ThreadLocal | |
- OpenTelemetry.Trace | |
as: Trace |
- error: {lhs: mapM, rhs: traverse} | ||
- error: {lhs: mapM_, rhs: traverse_} | ||
- error: {lhs: forM, rhs: for} | ||
- error: {lhs: forM_, rhs: for_} | ||
- error: {lhs: return, rhs: pure} | ||
- error: {lhs: "only (entityKey x)", rhs: "onlyKey x"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- error: {lhs: mapM, rhs: traverse} | |
- error: {lhs: mapM_, rhs: traverse_} | |
- error: {lhs: forM, rhs: for} | |
- error: {lhs: forM_, rhs: for_} | |
- error: {lhs: return, rhs: pure} | |
- error: {lhs: "only (entityKey x)", rhs: "onlyKey x"} | |
- error: { lhs: mapM, rhs: traverse } | |
- error: { lhs: mapM_, rhs: traverse_ } | |
- error: { lhs: forM, rhs: for } | |
- error: { lhs: forM_, rhs: for_ } | |
- error: { lhs: return, rhs: pure } | |
- error: { lhs: "only (entityKey x)", rhs: "onlyKey x" } |
# for ad hoc ways to suppress hlint. | ||
|
||
--- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- -XBangPatterns | ||
- -XDataKinds | ||
- -XDeriveAnyClass | ||
- -XDeriveFoldable | ||
- -XDeriveFunctor | ||
- -XDeriveGeneric | ||
- -XDeriveLift | ||
- -XDeriveTraversable | ||
- -XDerivingStrategies | ||
- -XFlexibleContexts | ||
- -XFlexibleInstances | ||
- -XGADTs | ||
- -XGeneralizedNewtypeDeriving | ||
- -XLambdaCase | ||
- -XMultiParamTypeClasses | ||
- -XNoImplicitPrelude | ||
- -XNoMonomorphismRestriction | ||
- -XOverloadedRecordDot | ||
- -XOverloadedStrings | ||
- -XQuasiQuotes | ||
- -XRankNTypes | ||
- -XRecordWildCards | ||
- -XScopedTypeVariables | ||
- -XStandaloneDeriving | ||
- -XTypeApplications | ||
- -XTypeFamilies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- -XBangPatterns | |
- -XDataKinds | |
- -XDeriveAnyClass | |
- -XDeriveFoldable | |
- -XDeriveFunctor | |
- -XDeriveGeneric | |
- -XDeriveLift | |
- -XDeriveTraversable | |
- -XDerivingStrategies | |
- -XFlexibleContexts | |
- -XFlexibleInstances | |
- -XGADTs | |
- -XGeneralizedNewtypeDeriving | |
- -XLambdaCase | |
- -XMultiParamTypeClasses | |
- -XNoImplicitPrelude | |
- -XNoMonomorphismRestriction | |
- -XOverloadedRecordDot | |
- -XOverloadedStrings | |
- -XQuasiQuotes | |
- -XRankNTypes | |
- -XRecordWildCards | |
- -XScopedTypeVariables | |
- -XStandaloneDeriving | |
- -XTypeApplications | |
- -XTypeFamilies | |
- -XBangPatterns | |
- -XDataKinds | |
- -XDeriveAnyClass | |
- -XDeriveFoldable | |
- -XDeriveFunctor | |
- -XDeriveGeneric | |
- -XDeriveLift | |
- -XDeriveTraversable | |
- -XDerivingStrategies | |
- -XFlexibleContexts | |
- -XFlexibleInstances | |
- -XGADTs | |
- -XGeneralizedNewtypeDeriving | |
- -XLambdaCase | |
- -XMultiParamTypeClasses | |
- -XNoImplicitPrelude | |
- -XNoMonomorphismRestriction | |
- -XOverloadedRecordDot | |
- -XOverloadedStrings | |
- -XQuasiQuotes | |
- -XRankNTypes | |
- -XRecordWildCards | |
- -XScopedTypeVariables | |
- -XStandaloneDeriving | |
- -XTypeApplications | |
- -XTypeFamilies |
- ignore: {within: "FreckleCurriculaApi.**.*"} | ||
- ignore: {within: "RenaissanceGUR.**.*"} | ||
- ignore: {within: "PerformanceAnalysisService.**.*"} | ||
- ignore: {within: "BenchmarkService.**.*"} | ||
- ignore: {within: "RecurlyApi.**.*"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- ignore: {within: "FreckleCurriculaApi.**.*"} | |
- ignore: {within: "RenaissanceGUR.**.*"} | |
- ignore: {within: "PerformanceAnalysisService.**.*"} | |
- ignore: {within: "BenchmarkService.**.*"} | |
- ignore: {within: "RecurlyApi.**.*"} | |
- ignore: { within: "FreckleCurriculaApi.**.*" } | |
- ignore: { within: "RenaissanceGUR.**.*" } | |
- ignore: { within: "PerformanceAnalysisService.**.*" } | |
- ignore: { within: "BenchmarkService.**.*" } | |
- ignore: { within: "RecurlyApi.**.*" } |
- ignore: {name: "Use module export list"} | ||
- ignore: {name: "Redundant bracket due to operator fixities"} | ||
- ignore: {name: "Use explicit module export list"} | ||
- ignore: {name: "Redundant do"} | ||
- ignore: {name: "Eta reduce"} | ||
- ignore: {name: "Use list comprehension"} | ||
- ignore: {name: "Reduce duplication"} | ||
- ignore: {name: "Use fmap"} # we use classy prelude so this would be in error | ||
- ignore: {name: "Avoid restricted function", within: Application} | ||
- ignore: {name: "Use ."} # commonly broken or less readable | ||
- ignore: {name: "Use &&"} # we like "and" at 3+ elements | ||
- ignore: {name: "Use ||"} # we like "or" at 3+ elements | ||
- ignore: {name: "Use join"} # this often leads to cryptic code when do notation is easier to read | ||
- ignore: {name: "Redundant ^."} # confused by esqueleto's (^.) | ||
- ignore: {name: "Fuse on/on"} # confused by esqueleto's on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restyled by prettier-yaml
- ignore: {name: "Use module export list"} | |
- ignore: {name: "Redundant bracket due to operator fixities"} | |
- ignore: {name: "Use explicit module export list"} | |
- ignore: {name: "Redundant do"} | |
- ignore: {name: "Eta reduce"} | |
- ignore: {name: "Use list comprehension"} | |
- ignore: {name: "Reduce duplication"} | |
- ignore: {name: "Use fmap"} # we use classy prelude so this would be in error | |
- ignore: {name: "Avoid restricted function", within: Application} | |
- ignore: {name: "Use ."} # commonly broken or less readable | |
- ignore: {name: "Use &&"} # we like "and" at 3+ elements | |
- ignore: {name: "Use ||"} # we like "or" at 3+ elements | |
- ignore: {name: "Use join"} # this often leads to cryptic code when do notation is easier to read | |
- ignore: {name: "Redundant ^."} # confused by esqueleto's (^.) | |
- ignore: {name: "Fuse on/on"} # confused by esqueleto's on | |
- ignore: { name: "Use module export list" } | |
- ignore: { name: "Redundant bracket due to operator fixities" } | |
- ignore: { name: "Use explicit module export list" } | |
- ignore: { name: "Redundant do" } | |
- ignore: { name: "Eta reduce" } | |
- ignore: { name: "Use list comprehension" } | |
- ignore: { name: "Reduce duplication" } | |
- ignore: { name: "Use fmap" } # we use classy prelude so this would be in error | |
- ignore: { name: "Avoid restricted function", within: Application } | |
- ignore: { name: "Use ." } # commonly broken or less readable | |
- ignore: { name: "Use &&" } # we like "and" at 3+ elements | |
- ignore: { name: "Use ||" } # we like "or" at 3+ elements | |
- ignore: { name: "Use join" } # this often leads to cryptic code when do notation is easier to read | |
- ignore: { name: "Redundant ^." } # confused by esqueleto's (^.) | |
- ignore: { name: "Fuse on/on" } # confused by esqueleto's on |
OK, this is enough to show, IMO, that when |
No description provided.