Skip to content

Clean Code #19

@alvesisaque

Description

@alvesisaque

Corrigir erros informados pelo elm analize

  • Unformatted file "src/App.elm"
  • Exposing all in file "src/App.elm" at ((0,21),(0,23))
  • No signature for top level definition main in file "src/App.elm" at ((4,0),(4,4))
  • Unformatted file "src/Codeschool/Assets.elm"
  • Exposing all in file "src/Codeschool/Assets.elm" at ((0,35),(0,37))
  • Unformatted file "src/Codeschool/Main.elm"
  • Unused variable flags in file "src/Codeschool/Main.elm" at ((85,18),(85,23))
  • Unformatted file "src/Codeschool/Model.elm"
  • Exposing all in file "src/Codeschool/Model.elm" at ((3,16),(3,18))
  • Importing all from module Data.Datein file "src/Codeschool/Model.elm" at ((11,27),(11,29))
  • Importing all from module Data.Userin file "src/Codeschool/Model.elm" at ((12,27),(12,29))
  • Importing all from module Data.Registrationin file "src/Codeschool/Model.elm" at ((13,35),(13,37))
  • Importing all from module Data.Loginin file "src/Codeschool/Model.elm" at ((14,28),(14,30))
  • Type alias Id is not used in file "src/Codeschool/Model.elm" at ((75,0),(76,7))
  • Unformatted file "src/Codeschool/Routing.elm"
  • Importing all from module Codeschool.Modelin file "src/Codeschool/Routing.elm" at ((2,40),(2,42))
  • Importing all from module UrlParserin file "src/Codeschool/Routing.elm" at ((4,27),(4,29))
  • Unformatted file "src/Codeschool/Sub.elm"
  • Unused variable model in file "src/Codeschool/Sub.elm" at ((7,14),(7,19))
  • Unformatted file "src/Codeschool/View.elm"
  • Exposing all in file "src/Codeschool/View.elm" at ((0,33),(0,35))
  • Importing all from module Codeschool.Modelin file "src/Codeschool/View.elm" at ((4,34),(4,36))
  • Importing all from module Htmlin file "src/Codeschool/View.elm" at ((6,22),(6,24))
  • Unused imported variable webDetail in file "src/Codeschool/View.elm" at ((7,32),(7,41))
  • Importing all from module Data.Questionin file "src/Codeschool/View.elm" at ((24,31),(24,33))
  • Unused variable id inside pattern in file "src/Codeschool/View.elm" at ((32,18),(32,20))
  • Unused variable string inside pattern in file "src/Codeschool/View.elm" at ((53,21),(53,27))
  • Unused variable string inside pattern in file "src/Codeschool/View.elm" at ((56,17),(56,23))
  • Unused variable slug inside pattern in file "src/Codeschool/View.elm" at ((56,24),(56,28))
  • Unused variable msg in file "src/Codeschool/View.elm" at ((85,5),(85,8))
  • Unformatted file "src/Data/Classroom.elm"
  • Exposing all in file "src/Data/Classroom.elm" at ((0,32),(0,34))
  • Importing all from module Json.Decodein file "src/Data/Classroom.elm" at ((6,36),(6,38))
  • Unformatted file "src/Data/Date.elm"
  • Exposing all in file "src/Data/Date.elm" at ((0,27),(0,29))
  • Importing all from module Json.Decodein file "src/Data/Date.elm" at ((5,36),(5,38))
  • Unformatted file "src/Data/Login.elm"
  • Exposing all in file "src/Data/Login.elm" at ((0,28),(0,30))
  • Importing all from module Json.Decodein file "src/Data/Login.elm" at ((2,36),(2,38))
  • Unformatted file "src/Data/Question.elm"
  • Exposing all in file "src/Data/Question.elm" at ((0,31),(0,33))
  • Unformatted file "src/Data/Registration.elm"
  • Exposing all in file "src/Data/Registration.elm" at ((0,35),(0,37))
  • Importing all from module Json.Decodein file "src/Data/Registration.elm" at ((2,36),(2,38))
  • Unformatted file "src/Data/Submission.elm"
  • Exposing all in file "src/Data/Submission.elm" at ((0,33),(0,35))
  • Record should be formatted over multiple lines in file "src/Data/Submission.elm" at ((7,4),(7,52))
  • Unformatted file "src/Data/User.elm"
  • Exposing all in file "src/Data/User.elm" at ((0,27),(0,29))
  • Importing all from module Json.Decodein file "src/Data/User.elm" at ((4,36),(4,38))
  • Unused imported variable optional in file "src/Data/User.elm" at ((5,56),(5,64))
  • Unformatted file "src/Forms/Contrib/FieldForm.elm"
  • Exposing all in file "src/Forms/Contrib/FieldForm.elm" at ((2,22),(2,24))
  • Importing all from module Forms.Fieldsin file "src/Forms/Contrib/FieldForm.elm" at ((17,30),(17,32))
  • Importing all from module Forms.Formin file "src/Forms/Contrib/FieldForm.elm" at ((18,36),(18,38))
  • Importing all from module Forms.Typesin file "src/Forms/Contrib/FieldForm.elm" at ((19,29),(19,31))
  • Unformatted file "src/Forms/Contrib/LoginForm.elm"
  • Exposing all in file "src/Forms/Contrib/LoginForm.elm" at ((2,22),(2,24))
  • Importing all from module Forms.Fieldsin file "src/Forms/Contrib/LoginForm.elm" at ((20,30),(20,32))
  • Importing all from module Forms.Formin file "src/Forms/Contrib/LoginForm.elm" at ((21,36),(21,38))
  • Importing all from module Forms.Typesin file "src/Forms/Contrib/LoginForm.elm" at ((22,29),(22,31))
  • Unformatted file "src/Forms/Examples/AppForms.elm"
  • Exposing all in file "src/Forms/Examples/AppForms.elm" at ((0,21),(0,23))
  • Importing all from module Forms.Contribin file "src/Forms/Examples/AppForms.elm" at ((2,31),(2,33))
  • Importing all from module Forms.Fieldsin file "src/Forms/Examples/AppForms.elm" at ((3,30),(3,32))
  • Importing all from module Forms.Formin file "src/Forms/Examples/AppForms.elm" at ((4,36),(4,38))
  • Importing all from module Forms.JsonDecodein file "src/Forms/Examples/AppForms.elm" at ((5,34),(5,36))
  • Importing all from module Forms.Validationin file "src/Forms/Examples/AppForms.elm" at ((6,34),(6,36))
  • Importing all from module Forms.Typesin file "src/Forms/Examples/AppForms.elm" at ((7,29),(7,31))
  • Unused imported variable code in file "src/Forms/Examples/AppForms.elm" at ((8,28),(8,32))
  • Unused imported variable pre in file "src/Forms/Examples/AppForms.elm" at ((8,43),(8,46))
  • Unused variable flags in file "src/Forms/Examples/AppForms.elm" at ((143,18),(143,23))
  • Unused variable model in file "src/Forms/Examples/AppForms.elm" at ((154,14),(154,19))
  • Unformatted file "src/Forms/Fields.elm"
  • Importing all from module Forms.Validationin file "src/Forms/Fields.elm" at ((78,45),(78,47))
  • Importing all from module Htmlin file "src/Forms/Fields.elm" at ((79,22),(79,24))
  • Importing all from module Html.Attributesin file "src/Forms/Fields.elm" at ((80,42),(80,44))
  • Importing all from module Html.Eventsin file "src/Forms/Fields.elm" at ((81,29),(81,31))
  • Unused top level definition stringToType in file "src/Forms/Fields.elm" at ((160,0),(160,12))
  • Unused top level definition validator in file "src/Forms/Fields.elm" at ((309,0),(309,9))
  • Unused top level definition read in file "src/Forms/Fields.elm" at ((366,0),(366,4))
  • Unused top level definition readBool in file "src/Forms/Fields.elm" at ((375,0),(375,8))
  • Unused top level definition readFloat in file "src/Forms/Fields.elm" at ((390,0),(390,9))
  • Variable errors is redefined in file "src/Forms/Fields.elm". At ((443,8),(443,14)) and ((448,23),(448,29))
  • Use :: instead of ++ in file "src/Forms/Fields.elm" at ((477,19),(477,59))
  • Unformatted file "src/Forms/Form.elm"
  • Unused import alias Fieldsin file "src/Forms/Form.elm" at ((47,0),(47,43))
  • Importing all from module Forms.Fieldsin file "src/Forms/Form.elm" at ((47,40),(47,42))
  • Importing all from module Forms.Typesin file "src/Forms/Form.elm" at ((48,29),(48,31))
  • Importing all from module Forms.Utilsin file "src/Forms/Form.elm" at ((49,29),(49,31))
  • Importing all from module Forms.Validationin file "src/Forms/Form.elm" at ((50,45),(50,47))
  • Importing all from module Htmlin file "src/Forms/Form.elm" at ((51,22),(51,24))
  • Importing all from module Html.Eventsin file "src/Forms/Form.elm" at ((53,29),(53,31))
  • Unused import Maybein file "src/Forms/Form.elm" at ((54,0),(54,12))
  • Variable opts is redefined in file "src/Forms/Form.elm". At ((63,5),(63,9)) and ((65,17),(65,21))
  • Variable state is redefined in file "src/Forms/Form.elm". At ((115,16),(115,21)) and ((134,19),(134,24))
  • Unused variable id inside pattern in file "src/Forms/Form.elm" at ((141,26),(141,28))
  • Unformatted file "src/Forms/JsonDecode.elm"
  • Importing all from module Forms.Validationin file "src/Forms/JsonDecode.elm" at ((12,59),(12,61))
  • Importing all from module Forms.Validationin file "src/Forms/JsonDecode.elm" at ((12,74),(12,76))
  • Importing all from module Forms.Valuein file "src/Forms/JsonDecode.elm" at ((13,44),(13,46))
  • Unused imported variable float in file "src/Forms/JsonDecode.elm" at ((14,65),(14,70))
  • Unused imported variable int in file "src/Forms/JsonDecode.elm" at ((14,72),(14,75))
  • Unused imported variable oneOf in file "src/Forms/JsonDecode.elm" at ((14,93),(14,98))
  • Unused imported variable value in file "src/Forms/JsonDecode.elm" at ((14,117),(14,122))
  • Variable value is redefined in file "src/Forms/JsonDecode.elm". At ((14,117),(14,122)) and ((59,21),(59,26))
  • Unused imported variable decode in file "src/Forms/JsonDecode.elm" at ((15,50),(15,56))
  • Unused imported variable hardcoded in file "src/Forms/JsonDecode.elm" at ((15,58),(15,67))
  • Variable x is redefined in file "src/Forms/JsonDecode.elm". At ((74,16),(74,17)) and ((104,19),(104,20))
  • Variable x is redefined in file "src/Forms/JsonDecode.elm". At ((74,16),(74,17)) and ((98,40),(98,41))
  • Unused variable optsList in file "src/Forms/JsonDecode.elm" at ((96,16),(96,24))
  • Unused top level definition jsonForm in file "src/Forms/JsonDecode.elm" at ((134,0),(134,8))
  • Unused top level definition jsonField in file "src/Forms/JsonDecode.elm" at ((139,0),(139,9))
  • Unformatted file "src/Forms/JsonEncode.elm"
  • Importing all from module Forms.Typesin file "src/Forms/JsonEncode.elm" at ((15,21),(15,23))
  • Importing all from module Forms.Typesin file "src/Forms/JsonEncode.elm" at ((16,20),(16,22))
  • Importing all from module Json.Encodein file "src/Forms/JsonEncode.elm" at ((19,29),(19,31))
  • Variable err is redefined in file "src/Forms/JsonEncode.elm". At ((74,14),(74,17)) and ((79,23),(79,26))
  • TODO should not be used in comments. Found in "src/Forms/JsonEncode.elm" at ((144,16),(144,54))
  • Unformatted file "src/Forms/Types.elm"
  • Exposing all in file "src/Forms/Types.elm" at ((3,20),(3,22))
  • Exposing all in file "src/Forms/Types.elm" at ((5,18),(5,20))
  • Unformatted file "src/Forms/Utils.elm"
  • Unused variable a inside pattern in file "src/Forms/Utils.elm" at ((79,13),(79,14))
  • Unformatted file "src/Forms/Validation.elm"
  • Exposing all in fi
  • Choose Files Choose Files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions