UNPKG

eslint-config-ts-strict

Version:

Very strict ESLint config for projects using TypeScript, React and Prettier. ESLint v9 flat config only. Formatting rules disabled to prevent Prettier conflicts.

22 lines (17 loc) 425 B
/* eslint strict: 0, global-require: 0 */ import test from "tape"; test("all entry points parse", async (t) => { try { await import("../index.js"); t.pass("index does not throw"); } catch (e) { t.fail(`index throws: ${e.message}`); } try { await import("../whitespace.js"); t.pass("whitespace does not throw"); } catch (e) { t.fail(`whitespace throws: ${e.message}`); } t.end(); });