microsoft / vscode-htmlhint

VS Code integration of HTMLHint, an HTML linter.
MIT License
50 stars 35 forks source link

Fall back to default configuratiuon file. #75

Closed jp7677 closed 4 years ago

jp7677 commented 4 years ago

We might have configuration settings without options or configFile elements. In this case we should still look for the default configuration file. This should fix https://github.com/microsoft/vscode-htmlhint/issues/74

jp7677 commented 4 years ago

Hi @mike-kaufman Unfortunately my earlier PR breaks the detection of a default config file when e.g. htmlhint.enable or htmlhint.documentSelector is configured. Sorry for not seeing this in the first place. This PR should fix this.

mike-kaufman commented 4 years ago

thanks @jp7677. Will try to get an update published soon.

mike-kaufman commented 4 years ago

ok, I just published an updated extension that includes this fix. Again, sorry for delay. Please lmk if anything else is still broken.