public/license
Public repository has a LICENSE
| Severity | error |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.0.0-20261011205826-ecb4e9b3ffd4 |
| Selected by | fleetlint-recommended@0.1.0 |
Requirement
A public repository has a LICENSE file (and an SPDX identifier in the package manifest).
Why
Without a license, nobody may legally use the code.
Applies when
repo.publicCheck
exists("LICENSE*") || exists("COPYING*")Fix
Add LICENSE (MIT or Apache-2.0) with the current year and your name.
Agent instruction: Ask the user which license; add the LICENSE file and the SPDX identifier to the package manifest.
Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.