Skip to content

Commit aa8c6cd

Browse files
committed
Markdown Linterの設定を追加し、super-linterの環境変数設定を修正
1 parent 03bc835 commit aa8c6cd

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

.github/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
'OS:mac':
1+
"OS:mac":
22
- '\[x\] macOS'
3-
'OS:linux':
3+
"OS:linux":
44
- '\[x\] Linux'
5-
'OS:win':
5+
"OS:win":
66
- '\[x\] Windows'

.github/linters/markdown-lint.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
###########################
3+
###########################
4+
## Markdown Linter rules ##
5+
###########################
6+
###########################
7+
8+
# Linter rules doc:
9+
# - https://github.com/DavidAnson/markdownlint
10+
#
11+
# Note:
12+
# To comment out a single error:
13+
# <!-- markdownlint-disable -->
14+
# any violations you want
15+
# <!-- markdownlint-restore -->
16+
#
17+
18+
###############
19+
# Rules by id #
20+
###############
21+
MD004: false # Unordered list style
22+
MD007:
23+
indent: 2 # Unordered list indentation
24+
MD013:
25+
line_length: 400 # Line length 80 is far too short
26+
MD026:
27+
punctuation: ".,;:!。,;:" # List of not allowed
28+
MD029: false # Ordered list item prefix
29+
MD033: false # Allow inline HTML
30+
MD036: false # Emphasis used instead of a heading
31+
32+
#################
33+
# Rules by tags #
34+
#################
35+
blank_lines: false # Error on blank lines
36+
37+
# VOICEVOX
38+
# issueやプルリクエストのテンプレート用
39+
MD041: false # first-line-h1

.github/workflows/super-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Setup Environment Variables
2929
if: ${{ inputs.env_vars }}
30-
run: for line in "${{ inputs.env_vars }}"; do echo "$line" >> $GITHUB_ENV; done
30+
run: for line in "${{ inputs.env_vars }}"; do echo "$line" >> "$GITHUB_ENV"; done
3131

3232
- name: Lint Code Base
3333
uses: super-linter/super-linter/slim@v7

0 commit comments

Comments
 (0)