Provides an elm-review
rule to ensure your code uses only camelCase and PascalCase for variables, constants and other declarations.
UseCamelCase
- Reports code written in the wrong case style.
module ReviewConfig exposing (config)
import Review.Rule exposing (Rule)
import UseCamelCase
config : List Rule
config =
[ UseCamelCase.rule UseCamelCase.default
]
Detailed configuration documentation is provided with the rule.
You can try the example configuration above out by running the following command:
elm-review --template sparksp/elm-review-camelcase/example