DavidAnson / vscode-markdownlint

Markdown linting and style checking for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
MIT License
930 stars 170 forks source link

LICENSE-ANYTHINGINCAPITALS treated as Markdown #257

Closed peter-lyons-kehl closed 1 year ago

peter-lyons-kehl commented 1 year ago

Somehow Markdown Lint applies to LICENSE-MIT and LICENSE-APACHE files, too: image image

But (correctly) it doesn't apply to LICENSE. And it doesn't apply to LICENSE-lowercase.

Thank you for Markdown Lint.

DavidAnson commented 1 year ago

This extension relies on VS Code to tell it the type of a file. You can see what that type is in the bottom right of the window. Please check, if it says "Markdown", then this behavior is correct. VS Code may be miscategorizing those files for some reason. It's possible someone configured it to do so or maybe its new "auto detection" logic is deciding those files look like Markdown. If you change that setting or manually change the type assigned to that file, this extension should no longer lint it.

peter-lyons-kehl commented 1 year ago

Thank you. I submitted an issue with VS Code.