-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
63 lines (53 loc) · 1.53 KB
/
Copy path.gitattributes
File metadata and controls
63 lines (53 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Normalize line endings
* text=auto eol=lf
# PHP source code
*.php text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
# Exclude dev & config files from Composer/archives
/.github export-ignore
/.gitlab export-ignore
/.idea export-ignore
/tests export-ignore
/node_modules export-ignore
/vendor export-ignore
/art export-ignore
# Exclude tooling configs
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpcs.xml.dist export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/phpunit.xml export-ignore
/phpcs.dist.xml export-ignore
# Exclude CI/CD and build files
/.dockerignore export-ignore
/.styleci.yml export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/appveyor.yml export-ignore
/Dockerfile export-ignore
Makefile export-ignore
# Exclude lock and package manager files
/composer.lock export-ignore
/package-lock.json export-ignore
/yarn.lock export-ignore
/pnpm-lock.yaml export-ignore
# Keep only essential files in distribution
# (Composer will still include LICENSE and README by default)
LICENSE text eol=lf
README.md text eol=lf
# Improve diffs for readability
*.md diff=markdown
*.json diff=json
*.yml diff=yaml
*.yaml diff=yaml
*.xml diff=xml
# Prevent merge conflicts on lock files
composer.lock merge=ours
package-lock.json merge=ours
yarn.lock merge=ours
pnpm-lock.yaml merge=ours