Skip to content

Improve pretty printer: use consistent indentation levels #326

Improve pretty printer: use consistent indentation levels

Improve pretty printer: use consistent indentation levels #326

Triggered via pull request April 1, 2024 12:55
Status Success
Total duration 29m 35s
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/Eval.hs#L271
Warning in eval in module Inferno.Eval: Avoid NonEmpty.unzip ▫︎ Found: "unzip" ▫︎ Perhaps: "Data.Functor.unzip" ▫︎ Note: The function is being deprecated
build: inferno-core/src/Inferno/Eval.hs#L272
Warning in eval in module Inferno.Eval: Avoid NonEmpty.unzip ▫︎ Found: "unzip" ▫︎ Perhaps: "Data.Functor.unzip" ▫︎ Note: The function is being deprecated
build: inferno-core/src/Inferno/Infer.hs#L1264
Warning in infer in module Inferno.Infer: Eta reduce ▫︎ Found: "checkDuplicateFields l fs = aux mempty fs" ▫︎ Perhaps: "checkDuplicateFields l = aux mempty"
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#L785
Suggestion in rws_type in module Inferno.Parse: Use camelCase ▫︎ Found: "rws_type :: [Text]" ▫︎ Perhaps: "rwsType :: [Text]"
build: inferno-core/src/Inferno/Parse.hs#L786
Suggestion in rws_type in module Inferno.Parse: Use camelCase ▫︎ Found: "rws_type = ..." ▫︎ Perhaps: "rwsType = ..."
build: inferno-core/src/Inferno/Parse.hs#L813
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#L814
Suggestion in type_variable_raw in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable_raw = ..." ▫︎ Perhaps: "typeVariableRaw = ..."
build: inferno-core/src/Inferno/Parse.hs#L816
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#L817
Suggestion in type_variable in module Inferno.Parse: Use camelCase ▫︎ Found: "type_variable = ..." ▫︎ Perhaps: "typeVariable = ..."