Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stylelint-plugin] feat: Improve copyright comment detection #5655

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

kmark
Copy link
Contributor

@kmark kmark commented Oct 7, 2022

Adds support for comments like this:

// Copyright 2016 Palantir Technologies, Inc. All rights reserved.
<would add the import here before>
// Licensed under the Apache License, Version 2.0.
<adds the import here now>

Was not able to add a test for the // case since postcss doesn’t recognize these as comments by default.

@kmark kmark requested a review from adidahiya October 7, 2022 21:09
@blueprint-bot
Copy link

Add a test

Previews: documentation | landing | table | demo

@adidahiya adidahiya merged commit 3742f57 into develop Oct 10, 2022
@adidahiya adidahiya deleted the kmark/stylelint-comments branch October 10, 2022 15:38
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