UNPKG

linted

Version:

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

22 lines (21 loc) 526 B
import "chai/register-should.js"; import linted from "../index.js"; const configs = linted(); describe("linted", () => { describe("shape", () => { it("is a function", () => { linted .should.be .a("function"); }); }); describe("output", () => { it("is a non-empty array", () => { configs .should.be .an("array") .not.empty; }); }); }); //# sourceMappingURL=index.spec.js.map