Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit 2a731b5

Browse files
Cleanup and unify indentation; Setup .editorconfig file
1 parent 964915d commit 2a731b5

File tree

6 files changed

+38
-32
lines changed

6 files changed

+38
-32
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"presets": ["env"]
3-
}
3+
}

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@ indent_style = space
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

12+
[*.json]
13+
indent_size = 2
14+
15+
[.*]
16+
indent_size = 2
17+
1218
[*.md]
1319
trim_trailing_whitespace = false

.stylelintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"rules": {
33
"indentation": 4
44
}
5-
}
5+
}

composer.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "tonik/tonik",
3-
"description": "Tonik is a WordPress Starter Theme which aims to modernize, organize and enhance some aspects of WordPress theme development.",
4-
"keywords": ["tonik", "theme", "gin", "wordpress", "wordpress-starter-theme", "wordpress-theme"],
5-
"license": "MIT",
6-
"type": "wordpress-theme",
7-
"require": {
8-
"php": ">=5.6",
9-
"tonik/gin": "2.0.0-beta.2"
10-
},
11-
"require-dev": {
12-
"tonik/cli": "2.0.0-beta.2"
13-
}
2+
"name": "tonik/tonik",
3+
"description": "Tonik is a WordPress Starter Theme which aims to modernize, organize and enhance some aspects of WordPress theme development.",
4+
"keywords": ["tonik", "theme", "gin", "wordpress", "wordpress-starter-theme", "wordpress-theme"],
5+
"license": "MIT",
6+
"type": "wordpress-theme",
7+
"require": {
8+
"php": ">=5.6",
9+
"tonik/gin": "2.0.0-beta.2"
10+
},
11+
"require-dev": {
12+
"tonik/cli": "2.0.0-beta.2"
13+
}
1414
}

config/app.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"assets": {
3-
"app": [
4-
"./resources/assets/js/app.js",
5-
"./resources/assets/sass/app.scss"
6-
],
2+
"assets": {
3+
"app": [
4+
"./resources/assets/js/app.js",
5+
"./resources/assets/sass/app.scss"
6+
],
77

8-
"foundation": [
9-
"./resources/assets/js/foundation.js",
10-
"./resources/assets/sass/foundation.scss"
11-
]
12-
},
8+
"foundation": [
9+
"./resources/assets/js/foundation.js",
10+
"./resources/assets/sass/foundation.scss"
11+
]
12+
},
1313

14-
"settings": {
15-
"browserSync": {
16-
"host": "localhost",
17-
"port": 3000,
18-
"proxy": "http://localhost:8080/"
19-
}
14+
"settings": {
15+
"browserSync": {
16+
"host": "localhost",
17+
"port": 3000,
18+
"proxy": "http://localhost:8080/"
2019
}
21-
}
20+
}
21+
}

resources/assets/sass/app.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
.footer {
2020
border-top: 1px solid $medium-gray;
2121
padding-top: 3rem;
22-
}
22+
}

0 commit comments

Comments
 (0)