Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a bunch of review rules and conform to them
- Loading branch information
1 parent
eeb9d70
commit 94b65cd
Showing
9 changed files
with
738 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/.cache | ||
/data | ||
/dist | ||
/elm-stuff | ||
/log.txt | ||
/node_modules | ||
elm-stuff |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"type": "application", | ||
"source-directories": [ | ||
"src" | ||
], | ||
"elm-version": "0.19.1", | ||
"dependencies": { | ||
"direct": { | ||
"elm/core": "1.0.5", | ||
"elm/json": "1.1.3", | ||
"elm/project-metadata-utils": "1.0.1", | ||
"jfmengels/elm-review": "2.0.1", | ||
"jfmengels/review-common": "1.0.0", | ||
"stil4m/elm-syntax": "7.1.1" | ||
}, | ||
"indirect": { | ||
"elm/html": "1.0.0", | ||
"elm/parser": "1.1.0", | ||
"elm/random": "1.0.0", | ||
"elm/time": "1.0.0", | ||
"elm/url": "1.0.0", | ||
"elm/virtual-dom": "1.0.2", | ||
"elm-community/json-extra": "4.2.0", | ||
"elm-community/list-extra": "8.2.4", | ||
"elm-explorations/test": "1.2.2", | ||
"rtfeldman/elm-hex": "1.0.0", | ||
"rtfeldman/elm-iso8601-date-strings": "1.1.3", | ||
"stil4m/structured-writer": "1.0.2" | ||
} | ||
}, | ||
"test-dependencies": { | ||
"direct": { | ||
"elm-explorations/test": "1.2.2" | ||
}, | ||
"indirect": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module ReviewConfig exposing (config) | ||
|
||
{-| Do not rename the ReviewConfig module or the config function, because | ||
`elm-review` will look for these. | ||
To add packages that contain rules, add them to this review project using | ||
`elm install author/packagename` | ||
when inside the directory containing this file. | ||
TODO: | ||
- jfmengels/review-debug | ||
- sparksp/elm-review-ports | ||
-} | ||
|
||
import NoExposingEverything | ||
import NoImportingEverything | ||
import NoMissingTypeAnnotation | ||
import Review.Rule exposing (Rule) | ||
|
||
|
||
config : List Rule | ||
config = | ||
[ NoExposingEverything.rule | ||
|> Review.Rule.ignoreErrorsForDirectories [ "tests/" ] | ||
, NoImportingEverything.rule [] | ||
|> Review.Rule.ignoreErrorsForDirectories [ "tests/" ] | ||
, NoMissingTypeAnnotation.rule | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters