UNPKG

@storm-software/eslint

Version:

⚡ A package containing the base ESLint configuration used by Storm Software across many projects.

25 lines (22 loc) 529 B
import { __name } from "./chunk-SHUYVCID.js"; // src/utils/format-config.ts var formatConfig = /* @__PURE__ */ __name((name, config = []) => { return config.map((config2, index) => { if (!config2 || config2.name) { return config2 ?? {}; } return { ...config2, name: `Storm Software (${config2.name ? config2.name : name}) #${index + 1}`, settings: { "import/resolver": "node", ...config2.settings ?? {} } }; }); }, "formatConfig"); export { formatConfig };