Skip to content

Commit dea2873

Browse files
committed
Merge branch 'dev'
2 parents 38b7ad3 + 657864c commit dea2873

28 files changed

+6327
-6293
lines changed

.editorconfig

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
charset = utf-8
33
end_of_line = lf
44

5-
[*.{html,php,css,scss,js,ts,vue}]
5+
[*.{js,vue}]
6+
indent_size = 4
67
indent_style = tab
7-
trim_trailing_whitespace = true
88
insert_final_newline = true
9-
10-
[*.{yml,json}]
11-
indent_size = 2
12-
indent_style = space
13-
trim_trailing_whitespace = false
14-
15-
[*.md]
16-
indent_size = 4
17-
indent_style = space
9+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
.github export-ignore
2-
content export-ignore
3-
site export-ignore
4-
src export-ignore
5-
6-
.gitignore export-ignore
7-
.gitattributes export-ignore
8-
.editorconfig export-ignore
9-
.htaccess export-ignore
10-
index.site.php export-ignore
11-
package.json export-ignore
12-
package-lock.json export-ignore
1+
/.github/ export-ignore
2+
/scripts/ export-ignore
3+
/site/ export-ignore
4+
/src/ export-ignore
5+
/.editorconfig export-ignore
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/.htaccess export-ignore
9+
/.php-cs-fixer.dist.php export-ignore
10+
/.prettierignore export-ignore
11+
/index.site.php export-ignore
12+
/package-lock.json export-ignore
13+
/package.json export-ignore

.gitignore

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
# Composer
2-
composer.phar
3-
/vendor
4-
5-
# Kirby
6-
/kirby
7-
/media
8-
/site/accounts
9-
/site/sessions
10-
11-
# Node
12-
/node_modules
13-
14-
# Parcel
15-
/.cache
16-
17-
# Test repos
18-
/content
19-
/remote
1+
/content/
2+
/content-origin/
3+
/kirby/
4+
/media/
5+
/node_modules/
6+
/site/accounts/
7+
/site/sessions/
8+
/vendor/
9+
/.php-cs-fixer.cache

.php-cs-fixer.dist.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace PhpCsFixer;
4+
5+
$finder = Finder::create()
6+
->exclude([
7+
'.git',
8+
'kirby',
9+
'node_modules',
10+
'vendor'
11+
])
12+
->in(__DIR__);
13+
14+
return (new Config())
15+
->setRules([
16+
'@PSR12' => true
17+
])
18+
->setIndent("\t")
19+
->setFinder($finder);

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/content/
2+
/content-origin/
3+
/kirby/
4+
/media/
5+
/node_modules/
6+
/site/accounts/
7+
/site/sessions/
8+
/vendor/
9+
/composer*
10+
/index.css
11+
/index.js
12+
/package*

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@
1010
"homepage": "https://dodov.me/"
1111
}
1212
],
13+
"scripts": {
14+
"fix": "php-cs-fixer fix"
15+
},
1316
"require": {
14-
"getkirby/cms": "^3.4",
15-
"getkirby/composer-installer": "^1.1"
17+
"getkirby/cms": "^3.6",
18+
"getkirby/composer-installer": "^1.2"
19+
},
20+
"require-dev": {
21+
"friendsofphp/php-cs-fixer": "^3.2"
1622
},
1723
"extra": {
1824
"installer-name": "git"
1925
}
20-
}
26+
}

0 commit comments

Comments
 (0)