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
27 changes: 25 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
# This file is for standardising the coding style between different editors
# http://editorconfig.org/
# EditorConfig
# https://editorconfig.org/
#
# Consistent formatting for project files.

root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{php,js,css,json,html,htm,txt,md,yml,yaml,xml,twig}]
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true

[*.{txt,md,yml,yaml}]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_style = space

# Existing project-specific settings
[*]
end_of_line = lf
indent_size = 4
Expand All @@ -16,3 +35,7 @@ trim_trailing_whitespace = false
[*.yml]
indent_size = 4
indent_style = space

# YAML requires spaces rather than tabs.
[*.{yml,yaml}]
indent_style = space
8 changes: 3 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Normalize line endings to LF in the repository
# Shared line endings and binary files
* text=auto eol=lf

# Normalize line endings to LF in the repository

# Never convert line endings in binary files
*.png binary
*.jpg binary
Expand All @@ -9,10 +11,6 @@
*.webp binary
*.ico binary

# .gitignore is LF, but its macOS "Icon" rule needs a literal carriage
# return in the pattern; store the file exactly as written
.gitignore -text

tests/ export-ignore
.github/ export-ignore
.gitignore export-ignore
Expand Down
102 changes: 87 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,43 +1,115 @@
# =========================
# Build and Dependencies
# =========================

/build/
/vendor/

# =========================
# Ghostwriter
# =========================

# Ghostwriter backup markdown files
*.md.backup

# =========================
# Windows
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
# Folder configuration file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# =========================
# Operating System Files
# =========================

# OSX
# macOS
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon
# Custom folder icons
Icon?

# Thumbnails
._*

# Files that might appear on external disk
# Files that might appear on external disks
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
# Directories potentially created on remote AFP shares
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# =========================
# PHP / Composer
# =========================

vendor
composer.phar

# =========================
# Python
# =========================

__pycache__/
*.py[cod]
.venv/
venv/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.tox/
.nox/
.coverage
.coverage.*
htmlcov/

# =========================
# JavaScript / Node
# =========================

node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# =========================
# Local environment and editor files
# =========================

.env
.env.*
!.env.example
!.env.*.example
*~
*.backup
*.bk
*.bak
*.swp
*.swo

# =========================
# Local review output
# =========================

output*.txt
*-review-*.md

# IDE files
.idea/
*.iws
.idea_modules/
atlassian-ide-plugin.xml
/nbproject/
Loading