Mirror the shared Swift rules canon (rules-swift, commit 4ebb892) into docs/rules-swift/ as a read-only reference alongside the repo's tailored docs/rules/. PROVENANCE.md records the source, commit, and what was included or excluded; the upstream repo's own VCS, CI, and lint tooling is omitted as machinery rather than rule content. Exclude the vendored tree from the style gate (scripts/check-style.sh) and the pre-commit hook: the canon's enforcement docs quote the forbidden attribution phrases to define them, the same reason the repo's own enforcement files are already excluded.
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
Copyright (c) 2026 Mihaela Mihaljevic.
|
|
|
|
This repository is dual-licensed by content type.
|
|
|
|
PROSE (the rule documents, all .md files)
|
|
Licensed under the Creative Commons Attribution 4.0 International License
|
|
(CC BY 4.0). You are free to share and adapt the material, including
|
|
commercially, provided you give appropriate credit. Full text:
|
|
https://creativecommons.org/licenses/by/4.0/legalcode
|
|
SPDX-License-Identifier: CC-BY-4.0
|
|
|
|
CODE (any scripts, hooks, or sample configuration)
|
|
Licensed under the MIT License, reproduced below.
|
|
SPDX-License-Identifier: MIT
|
|
|
|
----------------------------------------------------------------------
|
|
MIT License
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|