feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@ -70,7 +70,7 @@ const challengeFrontmatterValidator = file => frontmatter => {
|
||||
|
||||
function isChallengeParseable(file) {
|
||||
const { stat, fullPath } = file;
|
||||
if (!stat.isFile() || (/_meta/).test(fullPath)) {
|
||||
if (!stat.isFile() || /_meta/.test(fullPath)) {
|
||||
return Promise.resolve(true);
|
||||
}
|
||||
return parseMarkdown(fullPath);
|
||||
|
Reference in New Issue
Block a user