Skip to content

Commit

Permalink
Use new NoUnused.Exports config
Browse files Browse the repository at this point in the history
  • Loading branch information
sparksp committed Aug 14, 2023
1 parent 67c5425 commit 553ef87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion review/src/ReviewConfig.elm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ config =
, NoUnused.CustomTypeConstructors.rule []
, NoUnused.CustomTypeConstructorArgs.rule
, NoUnused.Dependencies.rule
, NoUnused.Exports.rule
, NoUnused.Exports.defaults
|> NoUnused.Exports.reportUnusedProductionExports
{ isProductionFile = \{ moduleName, filePath, isInSourceDirectories } -> isInSourceDirectories
, exceptionsAre = []
}
|> NoUnused.Exports.toRule
, NoUnused.Modules.rule
, NoUnused.Parameters.rule
, NoUnused.Patterns.rule
Expand Down

0 comments on commit 553ef87

Please sign in to comment.