Skip to content

HLint everything and add to CI #309

HLint everything and add to CI

HLint everything and add to CI #309

Triggered via pull request March 18, 2024 12:39
Status Failure
Total duration 27s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
HLint failed with status: 1. Warning (12), Suggestion (18)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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.hs#L1000
Warning in sigParser in module Inferno.Parse: Functor law ▫︎ Found: "EnumDef <$> (Just <$> doc)" ▫︎ Perhaps: "(EnumDef . Just <$> doc)"
build: inferno-core/src/Inferno/Instances/Arbitrary.hs#L619
Warning in module Inferno.Instances.Arbitrary: Functor law ▫︎ Found: "(,) <$> (ExtIdent . Right <$> arbitraryName)" ▫︎ Perhaps: "((,) . ExtIdent . Right <$> arbitraryName)"
build: inferno-core/src/Inferno/Parse/Commented.hs#L1
Warning in module Inferno.Parse.Commented: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveAnyClass #-}"