Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/linters/.editorconfig-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Exclude": [
"phpstan-baseline\\.neon$",
"^tests/runtime/",
"\\.min\\.css$",
"\\.min\\.js$",
"^vendor/",
"^runtime/",
"scaffold-lock\\.json$"
]
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading