We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7a261 commit c6ae6a0Copy full SHA for c6ae6a0
src/content-linter/scripts/lint-content.js
@@ -323,7 +323,7 @@ function getFilesToLint(paths) {
323
fileList.yml.push(...walkFiles(absPath, ['.yml']))
324
}
325
} else {
326
- if (isInDir(absPath, contentDir)) {
+ if (isInDir(absPath, contentDir) || isAFixtureMdFile(absPath)) {
327
fileList.content.push(absPath)
328
} else if (isInDir(absPath, dataDir)) {
329
if (absPath.endsWith('.yml')) {
@@ -691,3 +691,7 @@ function isOptionsValid() {
691
692
return true
693
694
+
695
+function isAFixtureMdFile(filePath) {
696
+ return filePath.includes('/src') && filePath.includes('/fixtures') && filePath.endsWith('.md')
697
+}
0 commit comments