mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-10-26 16:10:55 +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.
|
{-| Forbid the use of boolean comparisons that can be simplified.
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
module NoExtraBooleanComparisonTest exposing (all)
|
module NoExtraBooleanComparisonTest exposing (all)
|
||||||
|
|
||||||
import Review.Rule.NoExtraBooleanComparison exposing (rule)
|
import NoExtraBooleanComparison exposing (rule)
|
||||||
import Review.Test exposing (ReviewResult)
|
import Review.Test exposing (ReviewResult)
|
||||||
import Test exposing (Test, describe, test)
|
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.
|
{-| Forbid importing everything from a module.
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
module NoImportingEverythingTest exposing (all)
|
module NoImportingEverythingTest exposing (all)
|
||||||
|
|
||||||
import Review.Rule.NoImportingEverything exposing (Configuration, rule)
|
import NoImportingEverything exposing (Configuration, rule)
|
||||||
import Review.Test exposing (ReviewResult)
|
import Review.Test exposing (ReviewResult)
|
||||||
import Test exposing (Test, describe, test)
|
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.
|
{-| Forbid having unused custom type constructors in a file.
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
module NoUnusedTypeConstructorsTest exposing (all)
|
module NoUnusedTypeConstructorsTest exposing (all)
|
||||||
|
|
||||||
import Review.Rule.NoUnusedTypeConstructors exposing (rule)
|
import NoUnusedTypeConstructors exposing (rule)
|
||||||
import Review.Test exposing (ReviewResult)
|
import Review.Test exposing (ReviewResult)
|
||||||
import Test exposing (Test, describe, test)
|
import Test exposing (Test, describe, test)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user