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

Create a rule to add a specific format to file headers #748

Open
jesus-mg-ios opened this issue Jun 4, 2024 · 2 comments
Open

Create a rule to add a specific format to file headers #748

jesus-mg-ios opened this issue Jun 4, 2024 · 2 comments

Comments

@jesus-mg-ios
Copy link

jesus-mg-ios commented Jun 4, 2024

Add a file headers format like swiftformat (the other one does), but we can improve it, by adding a way to insert variables and, using the created date .year not from the file, but from the git.

@ahoppen
Copy link
Contributor

ahoppen commented Jun 4, 2024

Synced to Apple’s issue tracker as rdar://129247437

@sdavids
Copy link

sdavids commented Jul 8, 2024

You might want to support the REUSE header format:

https://reuse.software/faq/#why-reuse

// SPDX-FileCopyrightText: 2024 Jane Doe <jane@example.com>
//
// SPDX-License-Identifier: BSD-3-Clause-No-Military-License
/*
 * SPDX-FileCopyrightText: 2020-2024 John Doe <john@example.com>
 *
 * SPDX-License-Identifier: Apache-2.0 OR MIT
 */

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

No branches or pull requests

3 participants