subresource integrity and autocrlf in git
阿新 • • 發佈:2021-09-22
https://github.com/dotnet/aspnetcore/pull/20356
https://github.com/dotnet/aspnetcore/blob/main/.gitattributes
https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
###############################################################################
# Make sure jQuery files always have LF as line endings (to pass SRI checks)
###############################################################################
jquery*.js eol=lf
jquery*.map eol=lf
###############################################################################
# Make sure bootstrap files always have LF as line endings (to pass SRI checks)
###############################################################################
bootstrap*.js eol =lf
bootstrap*.map eol=lf bootstrap*.css eol=lf