Constant project_init::includes::HLINT_TEMPLATE [] [src]

pub const HLINT_TEMPLATE: &'static str = "---\n- functions:\n  - {name: unsafePerformIO, within: []}\n  - {name: error, within: []}\n  - {name: undefined, within: []}\n  - {name: fromJust, within: []}\n  - {name: foldl, within: []}\n\n- error: {lhs: \"hylo embed\", rhs: \"ana\", name: \"Use anamorphism\"}\n- error: {lhs: \"hylo f project\", rhs: \"cata f\", name: \"Use catamorphism\"}\n- error: {lhs: \"do { x <- y ; pure (f x) }\", rhs: \"f =<< y\", name: \"Avoid do-notation\"}\n- error: {lhs: \"concat\", rhs: \"join\", name: \"Generalize concat\"}\n- error: {lhs: \"concatMap\", rhs: \"(=<<)\", name: \"Generalize concatMap\"}\n- error: {lhs: \"f >> pure ()\", rhs: \"void f\", name: \"Use void\"}\n- error: {lhs: \"over _1 f x\", rhs: \"first f x\", name: \"Use arrows\"}\n- error: {lhs: \"over _2 f x\", rhs: \"second f x\", name: \"Use arrows\"}\n- error: {lhs: \"bool x x p\", rhs: \"x\", name: \"Redundant bool\"}\n- error: {lhs: \"const f\", rhs: \"pure f\", name: \"Generalize const\"}\n- error: {lhs: \"maybe mempty\", rhs: \"foldMap\", name: \"Use foldMap\"}\n- error: {lhs: \"mconcat\", rhs: \"fold\", name: \"Generalize mconcat\"}\n\n- fixity: infixr 3 ***\n- fixity: infixr 3 &&&\n"