fix(ui): correct SPDX license header format in generateTailwindThemeClassesJson.ts#1501
fix(ui): correct SPDX license header format in generateTailwindThemeClassesJson.ts#1501
Conversation
|
|
There was a problem hiding this comment.
The main issue in the error is that Apache-2.0\n is detected as INVALID SPDX LICENSE EXPRESSIONS.
The format of the comment you adjusted doesn't fix this, these lines are correctly read as the expected license. See my local test.
We need to understand if the script in generateTailwindThemeClassesJson.ts is still needed, since it doesn't seem to be actually called, referenced anywhere.
If so, we need to somehow change the format or ignore those lines. If not, delete.
As agreed, I'll investigate and open a PR then.
Summary
packages/ui-components/src/docs/ColorPalette/generateTailwindThemeClassesJson.ts//) to proper block comment format (/* */)Problem
The REUSE API reported the file as having an invalid SPDX license expression because the
license header was commented out with
//prefixes, which doesn't match the standardformat.
Solution
Updated the SPDX header to use the standard
/* */block comment format consistent with allother files in the project.
Checklist
PR Manifesto
Review the PR Manifesto for best practises.