Skip to content

Commit e5da4cb

Browse files
committed
FEATURE: Added editorconfig checker
1 parent ed9c2d0 commit e5da4cb

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

.ecrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"Verbose": true,
3+
"IgnoreDefaults": false
4+
}

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ trim_trailing_whitespace = false
1313

1414
[*.{yml,yaml,neon}]
1515
indent_size = 2
16+
17+
[.ecrc]
18+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/.gitattributes export-ignore
44
/.gitignore export-ignore
55
/.php-cs-fixer.dist.php export-ignore
6+
/.ecrc export-ignore
67
/docker-compose.yaml export-ignore
78
/phpstan.neo export-ignore
89
/phpstan-baseline.neon export-ignore

.github/workflows/continuous integration.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ jobs:
3535
- name: "Run PHPStan"
3636
run: "composer run-script phpstan"
3737

38+
editorconfig-checker:
39+
name: EditorConfig Checker
40+
runs-on: "ubuntu-latest"
41+
42+
steps:
43+
- name: "Checkout code"
44+
uses: "actions/checkout@v2"
45+
46+
- name: "Install EditorConfig Checker"
47+
uses: "editorconfig-checker/action-editorconfig-checker@main"
48+
49+
- name: "Run EditorConfig Checker"
50+
run: "editorconfig-checker"
51+
3852
codestyle:
3953
name: "PHP-CS-Fixer"
4054
runs-on: "ubuntu-latest"

0 commit comments

Comments
 (0)