Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 5471ea6

Browse files
committed
chore: fixed markdown lint workflow
1 parent d9ee892 commit 5471ea6

File tree

5 files changed

+66
-8
lines changed

5 files changed

+66
-8
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ indent_size = 4
99
trim_trailing_whitespace = true
1010

1111
[*.yml]
12+
indent_size = 4
13+
14+
[package.json]
1215
indent_size = 2

.gitattributes

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
.docker export-ignore
77
.github/ export-ignore
88

9-
bin export-ignore
10-
119
tests/ export-ignore
1210

1311
.changelog export-ignore
@@ -17,7 +15,7 @@ tests/ export-ignore
1715
.nvmrc export-ignore
1816
.php_cs export-ignore
1917
.textlintrc export-ignore
20-
.travis.yml export-ignore
18+
.typo-ci.yml export-ignore
2119
docker-compose.yml export-ignore
2220
infection.json export-ignore
2321
package.json export-ignore

.github/workflows/markdown-lint.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
env:
3636
GIT_USER_EMAIL: "${{ secrets.GIT_USER_EMAIL }}"
3737
GIT_USER_USERNAME: "${{ secrets.GIT_USER_USERNAME }}"
38-
run: |
39-
EMAIL=${GIT_USER_EMAIL:-"github-actions[bot]@users.noreply.github.com"}
40-
NAME=${GIT_USER_USERNAME:-"github-actions-shell"}
38+
run: |
39+
EMAIL=${GIT_USER_EMAIL:-"github-actions[bot]@users.noreply.github.com"}
40+
NAME=${GIT_USER_USERNAME:-"github-actions-shell"}
4141
42-
git config --global user.email "${EMAIL}"
43-
git config --global user.name "${NAME}"
42+
git config --global user.email "${EMAIL}"
43+
git config --global user.name "${NAME}"
4444
4545
- name: "Get yarn cache directory path"
4646
id: "yarn-cache-dir-path"

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
composer.phar
66
/composer.lock
77

8+
rector-temp-phpstan.neon
9+
810
.php_cs.cache
911
.phpunit.result.cache
1012
.phpunit.xdebug-filter.php
1113

1214
infection.log
1315

16+
/.build/composer.lock
1417
/.build/infection/
1518
!/.build/infection/.gitkeep
1619
/.build/php-cs-fixer/

.typo-ci.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# This is a sample .typo-ci.yml file, it's used to configure how Typo CI will behave.
2+
# Add it to the root of your project and push it to github.
3+
4+
# What language dictionaries should it use? Currently Typo CI supports:
5+
# de
6+
# en
7+
# en_GB
8+
# es
9+
# fr
10+
# it
11+
# pt
12+
# pt_BR
13+
dictionaries:
14+
- "en"
15+
- "en_GB"
16+
17+
# Any files/folders we should ignore?
18+
excluded_files:
19+
- "vendor/**/*"
20+
- ".build/**/*"
21+
- ".dependabot/**/*"
22+
- ".docker/**/*"
23+
- ".github/workflows/**/*"
24+
- ".github/settings.yml"
25+
- ".changelog"
26+
- ".editorconfig"
27+
- ".gitattributes"
28+
- ".gitignore"
29+
- ".nvmrc"
30+
- ".php_cs"
31+
- ".textlintrc"
32+
- "docker-compose.yml"
33+
- "infection.json"
34+
- "package.json"
35+
- "package-lock.json"
36+
- "phpstan.neon"
37+
- "phpunit.xml"
38+
- "psalm.xml"
39+
- "psalm-baseline.xml"
40+
- "src/**/*.php"
41+
- "tests/**/*.php"
42+
- "release.config.js"
43+
44+
# Any typos we should ignore?
45+
excluded_words:
46+
- "typoci"
47+
- "anolilab"
48+
- "bannert"
49+
- "prisis"
50+
- "narrowspark"
51+
- "composer"
52+
53+
# Would you like filenames to also be spellchecked?
54+
spellcheck_filenames: true

0 commit comments

Comments
 (0)