Revision 20f3060da52e3e04afbd5f1f50b4949677b801f9 authored by Oleksandr T on 16 December 2022, 16:41:32 UTC, committed by GitHub on 16 December 2022, 16:41:32 UTC
* add JSDocOverloadTag to ForEachChildTable

* fix tests

* change imports order
1 parent ba793e6
Raw File
.eslintplugin.js
const fs = require("fs");
const path = require("path");

const rulesDir = path.join(__dirname, "scripts", "eslint", "rules");
const ext = ".cjs";
const ruleFiles = fs.readdirSync(rulesDir).filter((p) => p.endsWith(ext));

module.exports = {
    rules: Object.fromEntries(ruleFiles.map((p) => {
        return [p.slice(0, -ext.length), require(path.join(rulesDir, p))];
    })),
}
back to top