We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a128e48 commit 8078b54Copy full SHA for 8078b54
1 file changed
.github/manual_lint.js
@@ -12,6 +12,10 @@ async function main() {
12
var data = await fs.readFile(filePath, 'utf8');
13
var filename = path.parse(filePath).base.replace(".md","");
14
15
+ if (filename.includes(' ')) {
16
+ errors.push(`文件 ${filePath} 不符合仓库的规范!文件名不能包含空格!`);
17
+ }
18
+
19
dataLines = data.split('\n').map(t => t.trim());
20
titles = dataLines.filter(t => t.startsWith('#'));
21
secondTitles = titles.filter(t => t.startsWith('## '));
0 commit comments