UNPKG

linted

Version:

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

38 lines (35 loc) 616 B
import "chai/register-should.js"; import linted from "."; const configs = linted(); describe( "linted", function () { describe( "shape", function () { it( "is a function", function () { linted .should.be .a("function"); }, ); }, ); describe( "output", function () { it( "is a non-empty array", function () { configs .should.be .an("array") .not.empty; }, ); }, ); }, );