Skip to content

Commit 883d261

Browse files
committed
ci: move linter configs to .github directory
1 parent f7e848f commit 883d261

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
99
.gitignore export-ignore
1010
.php-cs-fixer.dist.php export-ignore
1111
.pre-commit-config.yaml export-ignore
12-
.yamllint.yaml export-ignore
1312
composer.lock export-ignore
1413
composer-require-checker.json export-ignore
1514
docker-compose.yaml export-ignore
1615
infection.json.dist export-ignore
1716
Makefile export-ignore
17+
pest.xml.dist export-ignore
1818
phpstan.neon.dist export-ignore
1919
phpstan-baseline.neon export-ignore
2020
phpunit.xml.dist export-ignore
2121
psalm.xml export-ignore
2222
psalm-baseline.xml export-ignore
23-
renovate.json export-ignore
2423
rector.php export-ignore
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
configFile: ${{ github.workspace }}/.github/.commitlint.config.mjs
2828
failOnWarnings: false
29-
failOnErrors: false
29+
failOnErrors: true
3030
helpURL: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
3131

3232
yaml-linting:
@@ -42,7 +42,7 @@ jobs:
4242
- name: 🧐 Lint YAML files
4343
uses: ibiqlik/action-yamllint@v3.1.1
4444
with:
45-
config_file: .yamllint.yaml
45+
config_file: .github/.yamllint.yaml
4646
file_or_dir: '.'
4747
strict: true
4848

@@ -59,6 +59,7 @@ jobs:
5959
- name: 🧐 Lint Markdown files
6060
uses: DavidAnson/markdownlint-cli2-action@v16.0.0
6161
with:
62+
config: '.github/.markdownlint.json'
6263
globs: |
6364
**/*.md
6465
!CHANGELOG.md

0 commit comments

Comments
 (0)