Skip to content

Commit 4ee9846

Browse files
author
Leo
authored
Merge pull request #12669 from ethereum/unlicense_docs
docs: note on invalid SPDX `UNLICENSED`
2 parents 947a599 + 408b8e2 commit 4ee9846

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/layout-of-source-files.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ it does include the supplied string in the :ref:`bytecode metadata <metadata>`.
2727

2828
If you do not want to specify a license or if the source code is
2929
not open-source, please use the special value ``UNLICENSED``.
30+
Note that ``UNLICENSED`` (no usage allowed, not present in SPDX license list)
31+
is different from ``UNLICENSE`` (grants all rights to everyone).
32+
Solidity follows `the npm recommendation <https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license>`_.
3033

3134
Supplying this comment of course does not free you from other
3235
obligations related to licensing like having to mention

0 commit comments

Comments
 (0)