@@ -52,7 +52,6 @@ data Config =
52
52
, checkProject :: ! Bool
53
53
, hlintOn :: ! Bool
54
54
, diagnosticsOnChange :: ! Bool
55
- , maxNumberOfProblems :: ! Int
56
55
, diagnosticsDebounceDuration :: ! Int
57
56
, liquidOn :: ! Bool
58
57
, completionSnippetsOn :: ! Bool
@@ -68,7 +67,6 @@ instance Default Config where
68
67
, checkProject = True
69
68
, hlintOn = True
70
69
, diagnosticsOnChange = True
71
- , maxNumberOfProblems = 100
72
70
, diagnosticsDebounceDuration = 350000
73
71
, liquidOn = False
74
72
, completionSnippetsOn = True
@@ -94,7 +92,6 @@ parseConfig defValue = A.withObject "Config" $ \v -> do
94
92
<*> (o .:? " checkProject" <|> v .:? " checkProject" ) .!= checkProject defValue
95
93
<*> o .:? " hlintOn" .!= hlintOn defValue
96
94
<*> o .:? " diagnosticsOnChange" .!= diagnosticsOnChange defValue
97
- <*> o .:? " maxNumberOfProblems" .!= maxNumberOfProblems defValue
98
95
<*> o .:? " diagnosticsDebounceDuration" .!= diagnosticsDebounceDuration defValue
99
96
<*> o .:? " liquidOn" .!= liquidOn defValue
100
97
<*> o .:? " completionSnippetsOn" .!= completionSnippetsOn defValue
@@ -111,7 +108,6 @@ instance A.ToJSON Config where
111
108
, " checkProject" .= checkProject
112
109
, " hlintOn" .= hlintOn
113
110
, " diagnosticsOnChange" .= diagnosticsOnChange
114
- , " maxNumberOfProblems" .= maxNumberOfProblems
115
111
, " diagnosticsDebounceDuration" .= diagnosticsDebounceDuration
116
112
, " liquidOn" .= liquidOn
117
113
, " completionSnippetsOn" .= completionSnippetsOn
0 commit comments