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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ Each file is exposed through `package.json` `exports`, so it resolves by its spe
"forceLastModifiedAuthorUpdate": true,
"fixCreatedDate": true,
"normalizeDateFormat": true,
"strictCreatedDate": true
"strictCreatedDate": true,
"margin": 1
}
```

Expand All @@ -119,6 +120,7 @@ Each file is exposed through `package.json` `exports`, so it resolves by its spe
| `fixCreatedDate` | `true` | Move an existing `@Date` back to the oldest of itself, the file's first git commit and its filesystem creation time |
| `normalizeDateFormat` | `true` | Write every header date in the git `%aI` form (`2026-03-01T17:59:32-08:00`) |
| `strictCreatedDate` | `true` | With `--check`, fail on an `@Date` later than the file's first commit or creation time instead of only warning |
| `margin` | `1` | One blank line between the header and the file's next content. The fix-headers default is two, which prettier collapses to one |

The full description of every option is in the [fix-headers README](https://github.com/CLDMV/fix-headers#readme).

Expand Down
3 changes: 2 additions & 1 deletion fix-headers.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"forceLastModifiedAuthorUpdate": true,
"fixCreatedDate": true,
"normalizeDateFormat": true,
"strictCreatedDate": true
"strictCreatedDate": true,
"margin": 1
}
17 changes: 7 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cldmv/configs",
"version": "1.1.1",
"version": "1.2.0",
"description": "CLDMV's shared tool configurations, published as plain JSON files that CLDMV repos extend.",
"type": "module",
"license": "Apache-2.0",
Expand Down Expand Up @@ -63,7 +63,7 @@
},
"devDependencies": {
"@cldmv/eslint-plugin-jsonv": "^1.0.13",
"@cldmv/fix-headers": "^1.3.12",
"@cldmv/fix-headers": "^2.1.0",
"@cldmv/jsonv": "^1.1.1",
"@cldmv/prettier-plugin-jsonv": "^1.1.0",
"@cldmv/vitest-runner": "^1.5.1",
Expand Down
Loading