Skip to content

HLint everything and add to CI #310

HLint everything and add to CI

HLint everything and add to CI #310

Triggered via pull request March 18, 2024 13:07
Status Success
Total duration 28m 48s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cachix/cachix-action@v12, actions/cache/restore@v3, actions/cache/save@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: inferno-core/src/Inferno/Parse.hs#L231
Warning in enumE in module Inferno.Parse: Functor law ▫︎ Found: "f startPos () <$> (Scope . ModuleName <$> variable)" ▫︎ Perhaps: "(f startPos () . Scope . ModuleName <$> variable)"
build: inferno-core/src/Inferno/Parse.hs#L782
Suggestion in rws_type in module Inferno.Parse: Use camelCase ▫︎ Found: "rws_type :: [Text]" ▫︎ Perhaps: "rwsType :: [Text]"
build: inferno-core/src/Inferno/Parse.hs#L783
Suggestion in rws_type in module Inferno.Parse: Use camelCase ▫︎ Found: "rws_type = ..." ▫︎ Perhaps: "rwsType = ..."
build: inferno-core/src/Inferno/Parse.hs#L810
Suggestion in type_variable_raw in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable_raw :: TyParser Text" ▫︎ Perhaps: "typeVariableRaw :: TyParser Text"
build: inferno-core/src/Inferno/Parse.hs#L811
Suggestion in type_variable_raw in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable_raw = ..." ▫︎ Perhaps: "typeVariableRaw = ..."
build: inferno-core/src/Inferno/Parse.hs#L813
Suggestion in type_variable in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable :: TyParser Int" ▫︎ Perhaps: "typeVariable :: TyParser Int"
build: inferno-core/src/Inferno/Parse.hs#L814
Suggestion in type_variable in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable = ..." ▫︎ Perhaps: "typeVariable = ..."
build: inferno-core/src/Inferno/Parse/Commented.hs#L164
Suggestion in insertCommentIntoExpr in module Inferno.Parse.Commented: Use head ▫︎ Found: "res !! 0" ▫︎ Perhaps: "head res"
build: inferno-core/src/Inferno/Utils/QQ/Script.hs#L80
Warning in inferno in module Inferno.Utils.QQ.Script: Functor law ▫︎ Found: "AppE (VarE 'Maybe.fromJust)\n <$>\n (AppE (VarE 'Crypto.digestFromByteString) <$> lift (unpack str))" ▫︎ Perhaps: "AppE (VarE 'Maybe.fromJust)\n . AppE (VarE 'Crypto.digestFromByteString)\n <$> lift (unpack str)"
build: inferno-types/src/Inferno/Types/Syntax.hs#L722
Suggestion in con_ISEmpty in module Inferno.Types.Syntax: Use camelCase ▫︎ Found: "con_ISEmpty, con_ISStr, con_ISExpr :: Constr" ▫︎ Perhaps: "conISEmpty, con_ISStr, con_ISExpr :: Constr"