Skip to content

mateusfpleite/elm-review-functional-javascript

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published