UNPKG

linted

Version:

ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.

24 lines (23 loc) 618 B
import Core from "@eslinted/core"; import { settings, defaults, } from "@eslinted/defaults"; import * as required from "./imports/index.js"; export default function (extensions = {}, optional = {}, ...attachments) { try { return Core({ imports: { required, optional, }, configuration: { settings, defaults, extensions, attachments, }, }); } catch (e) { throw new Error("linted: ", { cause: e }); } } //# sourceMappingURL=index.js.map