From cdf2038f8a06627e7402c92cd7dae827c93ea241 Mon Sep 17 00:00:00 2001 From: 0mega24 Date: Fri, 17 Apr 2026 00:20:23 -0400 Subject: [PATCH] fix: remove em dashes and correct license reference Replace em dashes with plain punctuation throughout. Correct the README license section from MIT to Apache 2.0. --- .golangci.yml | 2 +- CONTRIBUTING.md | 4 ++-- README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 772b31c..8230942 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -50,7 +50,7 @@ linters: gosec: excludes: - # G115: integer overflow on conversion — false positive here because all channel + # G115: integer overflow on conversion. False positive here because all channel # values are clamped to [0, 1] before multiplication, so the result is always # in [0, 255] and fits safely in uint8. - G115 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4538579..a4f679e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ All of these must pass before opening a PR. CI runs `vet`, `fmt`, and `lint` in 1. Fork the repo and create a branch from `main`. 2. Branch names should follow the prefix convention: `feat/`, `fix/`, `chore/`, `docs/`. -3. Keep changes focused — one logical change per PR. +3. Keep changes focused, one logical change per PR. 4. Add or update tests for any behavior change. 5. Ensure every new exported symbol has a doc comment and that any new package has a package-level doc comment (required by the `staticcheck` ST1000 rule). @@ -59,7 +59,7 @@ Types: `feat`, `fix`, `chore`, `ci`, `docs`, `test`, `refactor` - Open a PR against `main` - Fill in the PR template - A PR should pass all CI checks before review -- We use **Rebase and merge** — individual commits land on `main` as-is, so keep your history clean +- We use **Rebase and merge**. Individual commits land on `main` as-is, so keep your history clean. ## Reporting issues diff --git a/README.md b/README.md index 0d845c2..ca23bf6 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ golor provides a single `Color` type (normalized sRGB) and a set of focused sub- | `adjust` | Lighten, darken, saturate, hue shift, warm/cool, tint, shade | | `blend` | Blend modes: multiply, screen, overlay, soft light, and more | | `contrast` | WCAG 2.1 contrast ratio and enforcement | -| `deltae` | Perceptual color difference (ΔE76 and CIEDE2000) | +| `deltae` | Perceptual color difference (dE76 and CIEDE2000) | | `colorblind` | Deficiency simulation and accessible palette generation | | `harmony` | Complementary, triadic, analogous, tetradic, split schemes | | `gradient` | Interpolation in RGB, HSL, L\*a\*b\*, and LCH | @@ -179,4 +179,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for full contribution guidelines. ## License -MIT — see [LICENSE](LICENSE). +Apache 2.0, see [LICENSE](LICENSE).