I wonder if there's some library that would allow us to match near misspellings and suggest the closest suitable entry. I.e. if you tried to enter devServer.historyAPIFallback, it would warn and point you to devServer.historyApiFallback instead. That feels like some distance calculation to me. The logic would kick in if the validator detects fields that aren't in the schema.
I wonder if there's some library that would allow us to match near misspellings and suggest the closest suitable entry. I.e. if you tried to enter
devServer.historyAPIFallback
, it would warn and point you todevServer.historyApiFallback
instead. That feels like some distance calculation to me. The logic would kick in if the validator detects fields that aren't in the schema.