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: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# EditorConfig helps maintain consistent coding styles
# This file takes precedence over VS Code user settings

# >>> pedantry
# pedantry 2.0.2: managed by pedantry sync, do not edit.
root = true

[*]
Expand All @@ -21,3 +24,4 @@ trim_trailing_whitespace = false

[Makefile]
indent_style = tab
# <<< pedantry
14 changes: 6 additions & 8 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ This document provides guidelines for AI assistants working on this codebase.

---

## ⚠️ CRITICAL: Do Not Modify Submodule Files
## ⚠️ CRITICAL: Do Not Edit Pedantry-Managed Files

**If this project uses the pedantry submodule (`.pedantry/` directory), NEVER modify files within it.**
**Files written by `pedantry sync` are managed. Never edit them by hand; run `pedantry sync` instead.**

- All configuration files have been **copied** from the submodule to the project root
- Edit the copied files in the project root, NOT the originals in `.pedantry/`
- The submodule should remain unchanged so it can be updated cleanly
- Modifying submodule files will cause merge conflicts during updates
- Managed files are `lefthook.yml`, `.pedantry/AGENTS.md` and the marked blocks (`# >>> pedantry` to `# <<< pedantry`)
- TypeScript, ESLint, Prettier and Stylelint come from the `@dryan/pedantry` npm package

**When editing configs:**

- ✅ Edit files at project root: `tsconfig.json`, `eslint.config.ts`, `pyproject.toml`, etc.
- ❌ Never edit: `.pedantry/tsconfig.json`, `.pedantry/eslint.config.ts`, etc.
- ✅ Edit the repo's own files: `tsconfig.json` (extends `@dryan/pedantry/tsconfig`), `eslint.config.ts` (imports `@dryan/pedantry/eslint`), etc.
- ❌ Never edit the managed files above

---

Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion .pedantry
Submodule .pedantry deleted from a10302
Loading
Loading