generated from nhcarrigan/template
fix: disable linting on the order object declaration
Node.js CI / Lint and Test (push) Failing after 1m0s
Node.js CI / Lint and Test (push) Failing after 1m0s
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ export default [
|
|||||||
{
|
{
|
||||||
rules: {
|
rules: {
|
||||||
"no-console" : "off",
|
"no-console" : "off",
|
||||||
"no-await-in-loop": "off"
|
"no-await-in-loop": "off",
|
||||||
|
"comments/no-unlimited-disable": "off",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -17,11 +17,13 @@ import order from "../data/order.json" assert { type: "json" };
|
|||||||
import { options } from "./config/options.js";
|
import { options } from "./config/options.js";
|
||||||
import { starterText } from "./config/text.js";
|
import { starterText } from "./config/text.js";
|
||||||
|
|
||||||
|
/* eslint-disable -- Because we do not commit the order object, the CI cannot process this declaration.*/
|
||||||
const flattenedOrder: Array<string> = order.chapters.flatMap((chapter) => {
|
const flattenedOrder: Array<string> = order.chapters.flatMap((chapter) => {
|
||||||
return chapter.modules.flatMap((module) => {
|
return chapter.modules.flatMap((module) => {
|
||||||
return module.blocks;
|
return module.blocks;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
const readDirectoryRecursively = async(
|
const readDirectoryRecursively = async(
|
||||||
directory: string,
|
directory: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user