Skip to content

Conversation

@JamieMagee
Copy link
Member

@JamieMagee JamieMagee commented Sep 1, 2023

IDE0073: Require file header (The description in .editorconfig is incorrect)

Part of #340

This change adds the license header to files that are currently missing it, and also removes our custom Verify-LicenseHeader.ps1 script. It's clear that it didn't cover everything, as we were missing some files.

@JamieMagee JamieMagee requested a review from a team as a code owner September 1, 2023 20:17
@JamieMagee JamieMagee changed the title Remove silence of IDE0073 refactor: fix IDE0073 require file header Sep 1, 2023
Copy link
Contributor

@ryanbrandenburg ryanbrandenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me, but I'm curious where the header to require is specified?

@JamieMagee
Copy link
Member Author

This looks great to me, but I'm curious where the header to require is specified?

It's in .editorconfig

sbom-tool/.editorconfig

Lines 459 to 460 in 9e9a918

file_header_template = Copyright (c) Microsoft. All rights reserved.\nLicensed under the MIT license. See LICENSE file in the project root for full license information.
stylecop.documentation.xmlHeader = false

@JamieMagee JamieMagee enabled auto-merge (squash) September 1, 2023 20:49
@JamieMagee JamieMagee merged commit 70991eb into main Sep 1, 2023
@JamieMagee JamieMagee deleted the users/jamagee/IDE0073 branch September 1, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants