Provides elm-review
rules to gain insight into your Elm codebase.
At this point in time, this package is not meant to be published. It is a "random" collection of rules aimed to showcase
use cases for elm-review
's --extract
functionality
and potentially be used as starting points for more practical rules.
ExtractDocsJson
- Recreate docs.json
for your project.FindUntestedModules
- Finds the modules which are not directly imported by a test module.ModuleNameToFilePath
- Get a mapping of module name to file path.module ReviewConfig exposing (config)
import ExtractDocsJson
import FindUntestedModules
import ModuleNameToFilePath
import Review.Rule exposing (Rule)
config : List Rule
config =
[ ExtractDocsJson.rule
, FindUntestedModules.rule
, ModuleNameToFilePath.rule
]
You can try the preview configuration above out by running the following command:
elm-review --template jfmengels/elm-review-random-insights/preview --report=json --extract