From 6cc748685598426bbeb6b02a049ba90bf0535e86 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Tue, 5 May 2026 16:09:14 -0400 Subject: [PATCH 1/2] feat: add `.editorconfig-checker.json` for improved linting configuration. --- .github/linters/.editorconfig-checker.json | 11 +++++++++++ CHANGELOG.md | 1 + 2 files changed, 12 insertions(+) create mode 100644 .github/linters/.editorconfig-checker.json diff --git a/.github/linters/.editorconfig-checker.json b/.github/linters/.editorconfig-checker.json new file mode 100644 index 0000000..bb0f71a --- /dev/null +++ b/.github/linters/.editorconfig-checker.json @@ -0,0 +1,11 @@ +{ + "Exclude": [ + "phpstan-baseline\\.neon$", + "^tests/runtime/", + "\\.min\\.css$", + "\\.min\\.js$", + "^vendor/", + "^runtime/", + "scaffold-lock\\.json$" + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1657cd8..e6fba64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,3 +11,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - feat: allow shipping of metadata files in dist archive by overriding export-ignore rules. - feat: add `gitattributes` for metadata files and update `scaffold.json` references. - feat: update `.ecrc` and `.prettierignore` to include `scaffold-lock.json` for better file management. +- feat: add `.editorconfig-checker.json` for improved linting configuration. From adee84ae422a95de055d1d6c332db9565b3898c6 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Tue, 5 May 2026 16:15:46 -0400 Subject: [PATCH 2/2] feat: update distributed files section in `README.md` for improved clarity and organization. --- README.md | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 148a50f..c5ca738 100644 --- a/README.md +++ b/README.md @@ -74,21 +74,25 @@ vendor/bin/scaffold status ### Files distributed -| File | Mode | Purpose | -| ------------------------------------ | ---------- | -------------------------------------------------------- | -| `.editorconfig` | `append` | Editor settings; consumer-specific lines preserved | -| `.gitattributes` | `replace` | Text/binary handling, archive excludes | -| `.gitignore` | `append` | Common ignore patterns; project-specific lines preserved | -| `.styleci.yml` | `replace` | StyleCI config (PSR-12 + risky) | -| `.ecrc` | `replace` | editor-config-checker exclusions | -| `.prettierignore` | `replace` | Paths Prettier should skip | -| `.prettierrc.json` | `replace` | Prettier formatting rules | -| `.stylelintignore` | `replace` | Paths stylelint should skip | -| `composer-require-checker.json` | `preserve` | Composer require-checker whitelist (project-specific) | -| `.github/linters/actionlint.yml` | `replace` | actionlint config for Super-Linter | -| `.github/linters/.codespellrc` | `replace` | codespell config | -| `.github/linters/.gitleaks.toml` | `replace` | gitleaks config | -| `.github/linters/.markdown-lint.yml` | `replace` | markdownlint config | +```text +. +├── .editorconfig # append: Editor settings; consumer-specific lines preserved +├── .gitattributes # replace: Text/binary handling, archive excludes +├── .gitignore # append: Common ignore patterns; project-specific lines preserved +├── .styleci.yml # replace: StyleCI config (PSR-12 + risky) +├── .ecrc # replace: editor-config-checker exclusions +├── .prettierignore # replace: Paths Prettier should skip +├── .prettierrc.json # replace: Prettier formatting rules +├── .stylelintignore # replace: Paths stylelint should skip +├── composer-require-checker.json # preserve: Composer require-checker whitelist (project-specific) +└── .github + └── linters + ├── .codespellrc # replace: codespell config + ├── .editorconfig-checker.json # replace: editor-config-checker config for Super-Linter + ├── .gitleaks.toml # replace: gitleaks config + ├── .markdown-lint.yml # replace: markdownlint config + └── actionlint.yml # replace: actionlint config for Super-Linter +``` Mode semantics: