{"id":16710970,"url":"https://github.com/jfmengels/elm-review-code-style","last_synced_at":"2025-10-14T20:14:05.343Z","repository":{"id":48099909,"uuid":"337737921","full_name":"jfmengels/elm-review-code-style","owner":"jfmengels","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-11T08:04:33.000Z","size":290,"stargazers_count":5,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-18T05:41:56.487Z","etag":null,"topics":["code-style","elm-review"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/jfmengels/elm-review-code-style/latest/","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfmengels.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jfmengels"}},"created_at":"2021-02-10T13:49:02.000Z","updated_at":"2024-09-11T08:04:37.000Z","dependencies_parsed_at":"2024-10-12T20:10:25.373Z","dependency_job_id":"ed2902af-279f-4a75-9d7f-73a443037cca","html_url":"https://github.com/jfmengels/elm-review-code-style","commit_stats":{"total_commits":82,"total_committers":3,"mean_commits":"27.333333333333332","dds":"0.024390243902439046","last_synced_commit":"c59aea2bb830e052963102c65984939c2bbff108"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jfmengels/elm-review-code-style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmengels%2Felm-review-code-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmengels%2Felm-review-code-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmengels%2Felm-review-code-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmengels%2Felm-review-code-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfmengels","download_url":"https://codeload.github.com/jfmengels/elm-review-code-style/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmengels%2Felm-review-code-style/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021005,"owners_count":26086946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-style","elm-review"],"created_at":"2024-10-12T20:10:20.333Z","updated_at":"2025-10-14T20:14:05.316Z","avatar_url":"https://github.com/jfmengels.png","language":"Elm","funding_links":["https://github.com/sponsors/jfmengels"],"categories":[],"sub_categories":[],"readme":"# elm-review-code-style\n\nProvides [`elm-review`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/) rules to follow some of my personal code style preferences.\n\nI tend to not have many rules related to code style thanks to using `elm-format` and Elm's simple language,\nand I think that `elm-review` brings more values by reporting different kinds of issues than code style infringements,\nbut I do think that there are use-cases for it.\n\nA few warnings before trying to add them to your review configuration.\n1. These rules enforce opinions **I personally** have on \"nicer\" Elm code, and honestly they're mostly about resolving things I find relatively annoying. Do not enforce the ones you or your team disagrees with in your project.\n\n2. These rules may be a source of more frustration (when the tests fails because of them) for your team and a source of work that will bring little value to your project. I try to provide fixes when I can to reduce that work though!\n\nWith that said, I recommend [trying them out](#try-it-out) to help you decide.\n\n## Provided rules\n\n- [🔧 `NoRedundantlyQualifiedType`](https://package.elm-lang.org/packages/jfmengels/elm-review-code-style/1.2.0/NoRedundantlyQualifiedType/) - Reports when a type is qualified by a module (alias) of the same name.\n- [🔧 `NoSimpleLetBody`](https://package.elm-lang.org/packages/jfmengels/elm-review-code-style/1.2.0/NoSimpleLetBody/ \"Provides automatic fixes\") - Reports when a let expression's body is a simple reference to a value declared in the let expression.\n- [🔧 `NoUnnecessaryTrailingUnderscore`](https://package.elm-lang.org/packages/jfmengels/elm-review-code-style/1.2.0/NoUnnecessaryTrailingUnderscore/ \"Provides automatic fixes\") - Reports unnecessary or suboptimal trailing underscores in variable names.\n\n\n## Configuration\n\n```elm\nmodule ReviewConfig exposing (config)\n\nimport NoRedundantlyQualifiedType\nimport NoSimpleLetBody\nimport NoUnnecessaryTrailingUnderscore\nimport Review.Rule exposing (Rule)\n\nconfig : List Rule\nconfig =\n    [ NoUnnecessaryTrailingUnderscore.rule\n    , NoRedundantlyQualifiedType.rule\n    , NoSimpleLetBody.rule\n    ]\n```\n\n\n## Try it out\n\nYou can try the example configuration above out by running the following command:\n\n```bash\nelm-review --template jfmengels/elm-review-code-style/example\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfmengels%2Felm-review-code-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfmengels%2Felm-review-code-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfmengels%2Felm-review-code-style/lists"}