Skip to content

Commit b0e238a

Browse files
committed
Remove maxNumberOfProblems
1 parent 52dcb43 commit b0e238a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

hls-plugin-api/src/Ide/Plugin/Config.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ data Config =
5252
, checkProject :: !Bool
5353
, hlintOn :: !Bool
5454
, diagnosticsOnChange :: !Bool
55-
, maxNumberOfProblems :: !Int
5655
, diagnosticsDebounceDuration :: !Int
5756
, liquidOn :: !Bool
5857
, completionSnippetsOn :: !Bool
@@ -68,7 +67,6 @@ instance Default Config where
6867
, checkProject = True
6968
, hlintOn = True
7069
, diagnosticsOnChange = True
71-
, maxNumberOfProblems = 100
7270
, diagnosticsDebounceDuration = 350000
7371
, liquidOn = False
7472
, completionSnippetsOn = True
@@ -94,7 +92,6 @@ parseConfig defValue = A.withObject "Config" $ \v -> do
9492
<*> (o .:? "checkProject" <|> v .:? "checkProject") .!= checkProject defValue
9593
<*> o .:? "hlintOn" .!= hlintOn defValue
9694
<*> o .:? "diagnosticsOnChange" .!= diagnosticsOnChange defValue
97-
<*> o .:? "maxNumberOfProblems" .!= maxNumberOfProblems defValue
9895
<*> o .:? "diagnosticsDebounceDuration" .!= diagnosticsDebounceDuration defValue
9996
<*> o .:? "liquidOn" .!= liquidOn defValue
10097
<*> o .:? "completionSnippetsOn" .!= completionSnippetsOn defValue
@@ -111,7 +108,6 @@ instance A.ToJSON Config where
111108
, "checkProject" .= checkProject
112109
, "hlintOn" .= hlintOn
113110
, "diagnosticsOnChange" .= diagnosticsOnChange
114-
, "maxNumberOfProblems" .= maxNumberOfProblems
115111
, "diagnosticsDebounceDuration" .= diagnosticsDebounceDuration
116112
, "liquidOn" .= liquidOn
117113
, "completionSnippetsOn" .= completionSnippetsOn

0 commit comments

Comments
 (0)