File tree 3 files changed +38
-10
lines changed
3 files changed +38
-10
lines changed Original file line number Diff line number Diff line change
1
+ # Drupal editor configuration normalization
2
+ # @see http://editorconfig.org/
3
+
4
+ # This is the top-most .editorconfig file; do not search in parent directories.
5
+ root = true
6
+
7
+ # All files.
8
+ [* ]
9
+ end_of_line = LF
10
+ indent_style = space
11
+ indent_size = 2
12
+ charset = utf-8
13
+ trim_trailing_whitespace = true
14
+ insert_final_newline = true
15
+
16
+ [composer.{json,lock} ]
17
+ indent_size = 4
Original file line number Diff line number Diff line change 1
- # Ignore directories generated by Composer
1
+ # To ignore OS temporary files use global .gitignore
2
+ # https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
3
+
4
+ # Ignore directories generated by Composer.
2
5
/drush /contrib /
3
6
/vendor /
4
7
/web /core /
7
10
/web /profiles /contrib /
8
11
/web /libraries /
9
12
10
- # Ignore sensitive information
13
+ # Ignore sensitive information.
11
14
/web /sites /* /settings.php
12
- /web /sites /* /settings.local.php
13
15
14
- # Ignore Drupal's file directory
16
+ # Ignore Drupal's file directory.
15
17
/web /sites /* /files /
16
18
17
- # Ignore SimpleTest multi-site environment
19
+ # Ignore SimpleTest multi-site environment.
18
20
/web /sites /simpletest
19
21
20
- # Ignore files generated by common IDEs
21
- /.idea /
22
- /.vscode /
23
-
24
- # Ignore .env files as they are personal
22
+ # Ignore .env files as they could contain sensitive information.
25
23
/.env
24
+
25
+ # Manage .gitattributes with Drupal scaffold for cross-platform compatibility.
26
+ # Remove the line below and commit the file for more granular control.
27
+ /.gitattributes
28
+
29
+ # Manage all .gitignore files with Drupal scaffold.
30
+ # Remove the line below and commit the files for more granular control.
31
+ ** /.gitignore
Original file line number Diff line number Diff line change 63
63
"extra" : {
64
64
"composer-exit-on-patch-failure" : true ,
65
65
"drupal-scaffold" : {
66
+ "file-mapping" : {
67
+ "[project-root]/.gitignore" : false ,
68
+ "[web-root]/INSTALL.txt" : false ,
69
+ "[web-root]/README.txt" : false
70
+ },
66
71
"locations" : {
67
72
"web-root" : " web/"
68
73
}
You can’t perform that action at this time.
0 commit comments