mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 08:05:46 +03:00
Re-configure elm-review
This commit is contained in:
parent
5977bb06f2
commit
b3cd4f8ee8
482
package-lock.json
generated
482
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "elm-review",
|
||||
"name": "elm-review-package",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
@ -8,8 +8,8 @@
|
||||
"test": "tests"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "elm make --docs=elm-stuff/docs.json && elm-format src/ --validate && elm-test && elm-xref",
|
||||
"test:watch": "npm run test -s -- --watch"
|
||||
"test": "elm make --docs=elm-stuff/docs.json && elm-format src/ --validate && elm-test && elm-review . && elm-xref",
|
||||
"test:watch": "npx elm-test --watch"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -22,7 +22,8 @@
|
||||
},
|
||||
"homepage": "https://github.com/jfmengels/elm-review#readme",
|
||||
"dependencies": {
|
||||
"elm": "^0.19.0-no-deps"
|
||||
"elm": "^0.19.0-no-deps",
|
||||
"elm-review": "^1.0.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"elm-format": "^0.8.2",
|
||||
|
@ -8,9 +8,9 @@
|
||||
"direct": {
|
||||
"elm/core": "1.0.2",
|
||||
"elm/json": "1.1.3",
|
||||
"jfmengels/elm-lint": "4.0.0",
|
||||
"jfmengels/lint-debug": "1.0.0",
|
||||
"jfmengels/lint-unused": "1.0.0"
|
||||
"jfmengels/elm-review": "1.0.0",
|
||||
"jfmengels/review-debug": "1.0.0",
|
||||
"jfmengels/review-unused": "1.0.0"
|
||||
},
|
||||
"indirect": {
|
||||
"elm/html": "1.0.0",
|
||||
|
@ -20,8 +20,8 @@ module Review exposing
|
||||
import Elm.Parser as Parser
|
||||
import Elm.Processing exposing (init, process)
|
||||
import Elm.Syntax.File exposing (File)
|
||||
import Elm.Syntax.Module exposing (Module(..))
|
||||
import Elm.Syntax.Node as Node exposing (Node)
|
||||
import Elm.Syntax.Module as Module
|
||||
import Elm.Syntax.Node as Node
|
||||
import Elm.Syntax.Range exposing (Range)
|
||||
import Review.Fix exposing (Fix)
|
||||
import Review.Project exposing (Project)
|
||||
@ -100,7 +100,7 @@ moduleName : File -> String
|
||||
moduleName file =
|
||||
file.moduleDefinition
|
||||
|> Node.value
|
||||
|> Elm.Syntax.Module.moduleName
|
||||
|> Module.moduleName
|
||||
|> String.join "."
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user