@@ -243,7 +243,6 @@ export function validateConfigTypes(config: Record<string, any>): ValidationErro
243243 actual : typeof config . turnProtection . turns ,
244244 } )
245245 }
246- // Warn if turns is 0 or negative
247246 if (
248247 typeof config . turnProtection . turns === "number" &&
249248 config . turnProtection . turns < 1
@@ -337,7 +336,6 @@ export function validateConfigTypes(config: Record<string, any>): ValidationErro
337336 actual : typeof tools . settings . nudgeFrequency ,
338337 } )
339338 }
340- // Warn if nudgeFrequency is 0 or negative
341339 if (
342340 typeof tools . settings . nudgeFrequency === "number" &&
343341 tools . settings . nudgeFrequency < 1
@@ -588,7 +586,7 @@ function showConfigValidationWarnings(
588586 duration : 7000 ,
589587 } ,
590588 } )
591- } catch { }
589+ } catch { }
592590 } , 7000 )
593591}
594592
@@ -892,7 +890,7 @@ export function getConfig(ctx: PluginInput): PluginConfig {
892890 duration : 7000 ,
893891 } ,
894892 } )
895- } catch { }
893+ } catch { }
896894 } , 7000 )
897895 } else if ( result . data ) {
898896 // Validate config keys and types
@@ -938,7 +936,7 @@ export function getConfig(ctx: PluginInput): PluginConfig {
938936 duration : 7000 ,
939937 } ,
940938 } )
941- } catch { }
939+ } catch { }
942940 } , 7000 )
943941 } else if ( result . data ) {
944942 // Validate config keys and types
@@ -981,7 +979,7 @@ export function getConfig(ctx: PluginInput): PluginConfig {
981979 duration : 7000 ,
982980 } ,
983981 } )
984- } catch { }
982+ } catch { }
985983 } , 7000 )
986984 } else if ( result . data ) {
987985 // Validate config keys and types
0 commit comments