Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.15 KB

File metadata and controls

32 lines (22 loc) · 1.15 KB

elm-review-functional-javascript

Provides elm-review rules to enforce functional style in javascript/typescript.

Provided rules

Configuration

module ReviewConfig exposing (config)

import FunctionalTypescript.NoUnionReturns
import FunctionalJavascript.NoLooseEquality
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ FunctionalTypescript.NoUnionReturns.rule
    , FunctionalJavascript.NoLooseEquality.rule
    ]

Try it out

You can try the example configuration above out by running the following command:

elm-review --template mateusfpleite/elm-review-functional-javascript/example