mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-08-16 19:40:22 +03:00
Re-organize test rules
This commit is contained in:
parent
19f35f835f
commit
ec4044826b
@ -1,4 +1,4 @@
|
||||
module Review.Rule.NoExtraBooleanComparison exposing (rule)
|
||||
module NoExtraBooleanComparison exposing (rule)
|
||||
|
||||
{-| Forbid the use of boolean comparisons that can be simplified.
|
||||
|
@ -1,6 +1,6 @@
|
||||
module NoExtraBooleanComparisonTest exposing (all)
|
||||
|
||||
import Review.Rule.NoExtraBooleanComparison exposing (rule)
|
||||
import NoExtraBooleanComparison exposing (rule)
|
||||
import Review.Test exposing (ReviewResult)
|
||||
import Test exposing (Test, describe, test)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Review.Rule.NoImportingEverything exposing (rule, Configuration)
|
||||
module NoImportingEverything exposing (rule, Configuration)
|
||||
|
||||
{-| Forbid importing everything from a module.
|
||||
|
@ -1,6 +1,6 @@
|
||||
module NoImportingEverythingTest exposing (all)
|
||||
|
||||
import Review.Rule.NoImportingEverything exposing (Configuration, rule)
|
||||
import NoImportingEverything exposing (Configuration, rule)
|
||||
import Review.Test exposing (ReviewResult)
|
||||
import Test exposing (Test, describe, test)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Review.Rule.NoUnusedTypeConstructors exposing (rule)
|
||||
module NoUnusedTypeConstructors exposing (rule)
|
||||
|
||||
{-| Forbid having unused custom type constructors in a file.
|
||||
|
@ -1,6 +1,6 @@
|
||||
module NoUnusedTypeConstructorsTest exposing (all)
|
||||
|
||||
import Review.Rule.NoUnusedTypeConstructors exposing (rule)
|
||||
import NoUnusedTypeConstructors exposing (rule)
|
||||
import Review.Test exposing (ReviewResult)
|
||||
import Test exposing (Test, describe, test)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user