Skip to content

Commit 0e71a4b

Browse files
committed
Update code style
1 parent 543e64b commit 0e71a4b

File tree

4 files changed

+45
-44
lines changed

4 files changed

+45
-44
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
charset = utf-8
33
end_of_line = lf
44

5-
[*.{js,vue}]
5+
[*.{js,json,vue}]
66
indent_size = 4
77
indent_style = tab
88
insert_final_newline = true

.prettierignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
/site/accounts/
77
/site/sessions/
88
/vendor/
9-
/composer*
9+
10+
/composer.lock
1011
/index.css
1112
/index.js
12-
/package*
13+
/package-lock.json

composer.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
"name": "oblik/kirby-git",
3-
"description": "Shows you Git changes in the Kirby panel and allows you to add/commit/push them, manually or automatically.",
4-
"type": "kirby-plugin",
5-
"license": "MIT",
6-
"authors": [
7-
{
8-
"name": "Hristiyan Dodov",
9-
"email": "h.dodov@gmail.com",
10-
"homepage": "https://dodov.me/"
11-
}
12-
],
13-
"scripts": {
14-
"fix": "php-cs-fixer fix"
15-
},
16-
"require": {
17-
"getkirby/cms": "^3.7",
18-
"getkirby/composer-installer": "^1.2"
19-
},
20-
"require-dev": {
21-
"friendsofphp/php-cs-fixer": "^3.2"
22-
},
23-
"extra": {
24-
"installer-name": "git"
25-
},
26-
"config": {
27-
"allow-plugins": {
28-
"getkirby/composer-installer": true
29-
}
30-
}
2+
"name": "oblik/kirby-git",
3+
"description": "Shows you Git changes in the Kirby panel and allows you to add/commit/push them, manually or automatically.",
4+
"type": "kirby-plugin",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Hristiyan Dodov",
9+
"email": "h.dodov@gmail.com",
10+
"homepage": "https://dodov.me/"
11+
}
12+
],
13+
"scripts": {
14+
"fix": "php-cs-fixer fix"
15+
},
16+
"require": {
17+
"getkirby/cms": "^3.7",
18+
"getkirby/composer-installer": "^1.2"
19+
},
20+
"require-dev": {
21+
"friendsofphp/php-cs-fixer": "^3.2"
22+
},
23+
"extra": {
24+
"installer-name": "git"
25+
},
26+
"config": {
27+
"allow-plugins": {
28+
"getkirby/composer-installer": true
29+
}
30+
}
3131
}

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"scripts": {
3-
"fix": "prettier . --write --ignore-unknown",
4-
"dev": "kirbyup src/index.js --watch",
5-
"build": "kirbyup src/index.js"
6-
},
7-
"devDependencies": {
8-
"kirbyup": "^1.1.0",
9-
"prettier": "^2.7.1"
10-
},
11-
"prettier": {
12-
"htmlWhitespaceSensitivity": "ignore"
13-
}
2+
"scripts": {
3+
"fix": "prettier . --write --ignore-unknown",
4+
"dev": "kirbyup src/index.js --watch",
5+
"build": "kirbyup src/index.js"
6+
},
7+
"devDependencies": {
8+
"kirbyup": "^1.1.0",
9+
"prettier": "^2.7.1"
10+
},
11+
"prettier": {
12+
"htmlWhitespaceSensitivity": "ignore"
13+
}
1414
}

0 commit comments

Comments
 (0)