Integrate elm App with Tauri. Can navigate into source directory.
This commit is contained in:
commit
94003989ef
50 changed files with 41456 additions and 0 deletions
49
src-elm/review/elm.json
Normal file
49
src-elm/review/elm.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"type": "application",
|
||||
"source-directories": [
|
||||
"src"
|
||||
],
|
||||
"elm-version": "0.19.1",
|
||||
"dependencies": {
|
||||
"direct": {
|
||||
"SiriusStarr/elm-review-no-unsorted": "1.1.2",
|
||||
"elm/core": "1.0.5",
|
||||
"elm/json": "1.1.3",
|
||||
"elm/project-metadata-utils": "1.0.2",
|
||||
"jfmengels/elm-review": "2.8.1",
|
||||
"jfmengels/elm-review-code-style": "1.0.0",
|
||||
"jfmengels/elm-review-common": "1.2.1",
|
||||
"jfmengels/elm-review-debug": "1.0.6",
|
||||
"jfmengels/elm-review-documentation": "2.0.1",
|
||||
"jfmengels/elm-review-simplify": "2.0.16",
|
||||
"jfmengels/elm-review-unused": "1.1.22",
|
||||
"stil4m/elm-syntax": "7.2.9"
|
||||
},
|
||||
"indirect": {
|
||||
"avh4/elm-fifo": "1.0.4",
|
||||
"elm/html": "1.0.0",
|
||||
"elm/parser": "1.1.0",
|
||||
"elm/random": "1.0.0",
|
||||
"elm/regex": "1.0.0",
|
||||
"elm/time": "1.0.0",
|
||||
"elm/virtual-dom": "1.0.3",
|
||||
"elm-community/dict-extra": "2.4.0",
|
||||
"elm-community/graph": "6.0.0",
|
||||
"elm-community/intdict": "3.0.0",
|
||||
"elm-community/list-extra": "8.6.0",
|
||||
"elm-community/maybe-extra": "5.3.0",
|
||||
"elm-community/result-extra": "2.4.0",
|
||||
"elm-community/string-extra": "4.0.1",
|
||||
"elm-explorations/test": "1.2.2",
|
||||
"miniBill/elm-unicode": "1.0.2",
|
||||
"rtfeldman/elm-hex": "1.0.0",
|
||||
"stil4m/structured-writer": "1.0.3"
|
||||
}
|
||||
},
|
||||
"test-dependencies": {
|
||||
"direct": {
|
||||
"elm-explorations/test": "1.2.2"
|
||||
},
|
||||
"indirect": {}
|
||||
}
|
||||
}
|
||||
77
src-elm/review/src/ReviewConfig.elm
Normal file
77
src-elm/review/src/ReviewConfig.elm
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
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.
|
||||
|
||||
-}
|
||||
|
||||
import Docs.ReviewAtDocs
|
||||
import NoDebug.Log
|
||||
import NoDebug.TodoOrToString
|
||||
import NoExposingEverything
|
||||
import NoImportingEverything
|
||||
import NoMissingTypeAnnotation
|
||||
import NoMissingTypeAnnotationInLetIn
|
||||
import NoMissingTypeExpose
|
||||
import NoPrematureLetComputation
|
||||
import NoSimpleLetBody
|
||||
import NoUnsortedCases
|
||||
import NoUnsortedLetDeclarations
|
||||
import NoUnsortedRecords
|
||||
import NoUnsortedTopLevelDeclarations
|
||||
import NoUnused.CustomTypeConstructorArgs
|
||||
import NoUnused.CustomTypeConstructors
|
||||
import NoUnused.Dependencies
|
||||
import NoUnused.Exports
|
||||
import NoUnused.Modules
|
||||
import NoUnused.Parameters
|
||||
import NoUnused.Patterns
|
||||
import NoUnused.Variables
|
||||
import Review.Rule as Rule exposing (Rule)
|
||||
import Simplify
|
||||
|
||||
|
||||
config : List Rule
|
||||
config =
|
||||
[ Docs.ReviewAtDocs.rule
|
||||
, NoDebug.Log.rule
|
||||
, NoDebug.TodoOrToString.rule
|
||||
|> Rule.ignoreErrorsForDirectories [ "tests/" ]
|
||||
, NoExposingEverything.rule
|
||||
, NoImportingEverything.rule []
|
||||
, NoMissingTypeAnnotation.rule
|
||||
, NoMissingTypeAnnotationInLetIn.rule
|
||||
, NoMissingTypeExpose.rule
|
||||
, NoSimpleLetBody.rule
|
||||
, NoPrematureLetComputation.rule
|
||||
, NoUnused.CustomTypeConstructors.rule []
|
||||
, NoUnused.CustomTypeConstructorArgs.rule
|
||||
, NoUnused.Dependencies.rule
|
||||
, NoUnused.Exports.rule
|
||||
, NoUnused.Modules.rule
|
||||
, NoUnused.Parameters.rule
|
||||
, NoUnused.Patterns.rule
|
||||
, NoUnused.Variables.rule
|
||||
, NoUnsortedCases.rule NoUnsortedCases.defaults
|
||||
, NoUnsortedLetDeclarations.rule
|
||||
(NoUnsortedLetDeclarations.sortLetDeclarations
|
||||
|> NoUnsortedLetDeclarations.alphabetically
|
||||
)
|
||||
, NoUnsortedRecords.rule
|
||||
(NoUnsortedRecords.defaults
|
||||
|> NoUnsortedRecords.reportAmbiguousRecordsWithoutFix
|
||||
)
|
||||
, NoUnsortedTopLevelDeclarations.rule
|
||||
(NoUnsortedTopLevelDeclarations.sortTopLevelDeclarations
|
||||
|> NoUnsortedTopLevelDeclarations.portsFirst
|
||||
|> NoUnsortedTopLevelDeclarations.exposedOrderWithPrivateLast
|
||||
|> NoUnsortedTopLevelDeclarations.alphabetically
|
||||
)
|
||||
, Simplify.rule Simplify.defaults
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue