diff --git a/eslint.config.js b/eslint.config.js index 6f8a51d..aeb2b37 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -5,7 +5,8 @@ export default [ { rules: { "no-console" : "off", - "no-await-in-loop": "off" + "no-await-in-loop": "off", + "comments/no-unlimited-disable": "off", } } ]; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 7e096c5..01dec6a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,11 +17,13 @@ import order from "../data/order.json" assert { type: "json" }; import { options } from "./config/options.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 = order.chapters.flatMap((chapter) => { return chapter.modules.flatMap((module) => { return module.blocks; }); }); +/* eslint-enable */ const readDirectoryRecursively = async( directory: string,