UNPKG

linted

Version:

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

21 lines (18 loc) 408 B
import { expect } from "chai"; import linted from "."; const configs = linted(); describe("Linted", function () { describe("shape", function () { it("is a function", function () { expect(linted) .a("function"); }); }); describe("output", function () { it("is a non-empty array", function () { expect(configs) .an("array") .not.empty; }); }); });