Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/elm review #553

Merged
merged 16 commits into from
Jun 3, 2021
Merged

Enhancement/elm review #553

merged 16 commits into from
Jun 3, 2021

Conversation

henriquecbuss
Copy link
Member

What issue does this PR close

Closes #527

Changes Proposed ( a list of new changes introduced by this PR)

  • Update elm-review rules we already had:
    • NoDebug.Log
    • NoDebug.TodoOrToString
    • NoUnused.Variables
    • NoUnused.Modules
    • NoBooleanCase
    • NoExposingEverything
  • Introduce some new elm-review rules:
    • NoUnused.CustomTypeConstructors
    • NoUnsued.CustomTypeConstructorArgs
    • NoUnused.Exports
    • NoMissingTypeAnnotation
    • Simplify
    • NoLeftPizza
    • UseCamelCase
    • NoModuleOnExposedNames
    • NoRedundantConcat
    • NoRedundantCons
  • Create elm-review rules specific to our project:
    • NoInconsistentJsAddressToMsg
    • NoInconsistentMsgToString

How to test ( a list of instructions on how to test this PR)

You can test our project's specific rules by running elm-test under the review directory (you might need to install elm-test: npm install --global elm-test).

Otherwise, you can see results from yarn review (it's also available as a check in GitHub) and just look through the changes and see if you spot anything weird. Browse around the app and see if the behaviour is still the same (shouldn't have changed a thing)

Copy link
Member

@lucca65 lucca65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice clean up! app starting looking sweet!


"Bananas" :: _ ->
Nothing

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥵 wow!!! this is 🔥

[ "ChecksLoaded", UR.remoteDataToString r ]
[ "ClaimsLoaded", UR.remoteDataToString r ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhhh, nice catch!

, responseData = Encode.null
, data =
Encode.object
[ ( "name", Encode.string "openChat" )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open chat 🤯 damn its been so long

@henriquecbuss henriquecbuss merged commit 97df7ea into master Jun 3, 2021
@henriquecbuss henriquecbuss deleted the enhancement/elm-review branch June 3, 2021 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve elm-review rules
2 participants